:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#172033;background:#f6f7fb}*{box-sizing:border-box}html,body,#root{max-width:100%;overflow-x:hidden}body{margin:0}.auth-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top,#e0e7ff,#f8fafc 45%)}.auth-card{width:min(420px,calc(100vw - 32px));box-shadow:0 18px 60px #0f172a1f}.shell{min-height:100vh}.sidebar{padding:24px 16px;border-right:1px solid #e8eaf1;display:flex;flex-direction:column}.project-list{margin-top:20px;overflow:auto}.project-list .ant-list-item{padding:12px;cursor:pointer;border-radius:8px;border-bottom:0}.project-list .ant-list-item:hover,.project-active{background:#eef2ff}.sidebar-bottom{margin-top:auto;display:grid;gap:8px}.content{padding:42px;background:#f7f8fc;overflow:auto}.task-column{min-height:360px;max-height:calc(100vh - 250px);background:#fbfcff;display:flex;flex-direction:column}.task-column .ant-card-body{min-height:0;overflow-y:auto}.task-list .ant-pagination{margin-bottom:0}.task-card{margin-bottom:12px;box-shadow:0 2px 10px #0f172a0d}.task-card .ant-typography-paragraph{margin:8px 0}.refinement-question-card{width:100%;background:#fffbeb;border-color:#fde68a}.detail-page{width:min(980px,calc(100vw - 48px));margin:0 auto;padding:42px 0 72px}.detail-loading{min-height:100vh;display:grid;place-items:center}@media(max-width:900px){.sidebar{width:210px!important;flex:0 0 210px!important;max-width:210px!important;min-width:210px!important}.content{padding:24px}.ant-col{min-width:280px}}.backend-status-banner{position:sticky;top:0;z-index:1200}@media(max-width:991px){.mobile-dashboard{width:100%;min-width:0;min-height:100vh;padding:12px 12px 116px;overflow-x:hidden;background:#f7f8fc}.mobile-header{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:8px;margin:-12px -12px 0;padding:12px;border-bottom:1px solid #e8eaf1;background:#f7f8fcf5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mobile-project-select{width:100%;min-width:0}.mobile-project-select .ant-select-selection-item{overflow:hidden;text-overflow:ellipsis}.mobile-menu-drawer .ant-drawer-body{display:flex;min-width:0;flex-direction:column;padding:16px}.mobile-menu-label{display:block;margin:24px 4px 8px}.mobile-menu-projects{min-height:0;flex:1;overflow-y:auto}.mobile-menu-projects .ant-list-item{min-width:0;padding:12px;border:0;border-radius:8px;cursor:pointer}.mobile-menu-projects .ant-list-item:hover{background:#f5f7ff}.mobile-menu-project-name{display:grid;min-width:0}.mobile-menu-project-name .ant-typography{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-menu-actions{display:grid;gap:8px;margin-top:16px}.mobile-project-meta{display:flex;min-width:0;align-items:center;gap:6px;padding:12px 0 4px}.mobile-section{min-width:0}.mobile-section-heading{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px;margin:16px 0 10px}.mobile-section-heading .ant-typography{min-width:0;margin:0}.mobile-section-heading .ant-btn{min-width:0;max-width:58%;overflow:hidden}.mobile-section-heading .ant-btn>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-task-list .ant-list-item{padding:0 0 10px;border:0}.mobile-task-list .ant-list-items,.mobile-task-list .ant-list-item,.mobile-task-link{width:100%;min-width:0}.mobile-task-link{display:block;color:inherit}.mobile-task-card{width:100%;min-width:0;overflow:hidden;box-shadow:0 2px 10px #0f172a0d}.mobile-task-card .ant-card-body{min-width:0;padding:14px}.mobile-task-title{display:block;min-width:0;overflow-wrap:anywhere;color:#172033;line-height:1.35}.mobile-task-meta{display:flex;min-width:0;align-items:center;flex-wrap:wrap;gap:4px;margin-top:10px}.mobile-task-meta .ant-tag{max-width:100%;overflow:hidden;text-overflow:ellipsis}.mobile-card-heading{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.mobile-archive-actions{margin-top:10px}.mobile-add-task{position:fixed;z-index:30;right:12px;bottom:calc(68px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px);box-shadow:0 8px 24px #4f46e552}.mobile-bottom-nav{position:fixed;z-index:25;right:0;bottom:0;left:0;display:flex;padding:7px 8px max(7px,env(safe-area-inset-bottom));border-top:1px solid #e1e4ec;background:#fffffff7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mobile-bottom-nav button{min-width:0;flex:1;padding:10px 6px;border:0;border-radius:8px;color:#697386;background:transparent;font:inherit;font-size:13px;font-weight:600}.mobile-bottom-nav button.active{color:#4f46e5;background:#eef2ff}.mobile-filter-options{display:grid;gap:4px}.mobile-filter-options .ant-btn{height:42px;text-align:left}.mobile-sheet-wrap{display:flex;align-items:flex-end;overflow:hidden}.mobile-sheet-wrap .ant-modal{top:0;width:100%!important;max-width:none;margin:0;padding:0}.mobile-sheet-wrap .ant-modal-content{max-height:min(84vh,720px);overflow-y:auto;border-radius:20px 20px 0 0;padding:22px 16px max(20px,env(safe-area-inset-bottom))}.mobile-quick-task-modal .ant-form-item-control-input-content,.mobile-quick-task-modal .ant-select{min-width:0;max-width:100%}.detail-page{width:calc(100% - 24px);min-width:0;padding:16px 0 48px;overflow-x:hidden}.detail-page .ant-space,.detail-page .ant-card,.detail-page .ant-card-body,.detail-page .ant-descriptions,.detail-page .ant-list-item,.detail-page .ant-list-item-meta{min-width:0;max-width:100%}.detail-page .ant-typography,.detail-page code,.detail-page a{overflow-wrap:anywhere;word-break:break-word}.detail-page h1.ant-typography{font-size:30px;line-height:1.15}.detail-page .ant-descriptions-view table{table-layout:fixed}.detail-page .ant-descriptions-item-container{display:block;min-width:0}.detail-page .ant-descriptions-item-label,.detail-page .ant-descriptions-item-content{display:block;width:100%;min-width:0;overflow-wrap:anywhere}.detail-page .ant-descriptions-item-content{margin-top:6px}.detail-page .ant-descriptions-item-content>.ant-typography{display:inline-flex;max-width:100%;align-items:flex-start;flex-wrap:wrap}.detail-page .ant-list-item{align-items:flex-start;flex-wrap:wrap;gap:8px}.detail-page .ant-list-item .mobile-header{grid-template-columns:44px minmax(0,1fr)}.detail-page .ant-list-item .mobile-header .ant-btn{min-width:44px;min-height:44px}.detail-page .ant-list-item .mobile-dashboard .ant-btn,.detail-page .ant-list-item .detail-page .ant-btn{min-height:44px}.detail-page .ant-list-item .mobile-dashboard .ant-btn-icon-only,.detail-page .ant-list-item .detail-page .ant-btn-icon-only{min-width:44px}.detail-page .ant-list-item .mobile-add-task{min-height:48px;padding-inline:20px}.detail-page .ant-list-item .mobile-bottom-nav button{min-height:44px}.detail-page .ant-list-item .mobile-filter-options .ant-btn{height:44px}.detail-page .ant-list-item .mobile-menu-drawer .ant-btn{min-height:44px}}
