:root{--app-scale: .9;font-family:BIZ UDPGothic,Hiragino Sans,Yu Gothic UI,sans-serif;color:#182432;background:radial-gradient(circle at top left,rgba(147,197,253,.35),transparent 34%),linear-gradient(180deg,#f6fbff,#edf3f8);line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}button,input,textarea{font:inherit}#root{min-height:100vh}@supports (zoom: 1){body{zoom:var(--app-scale)}}@supports not (zoom: 1){#root{min-height:calc(100vh / var(--app-scale));transform:scale(var(--app-scale));transform-origin:top left;width:calc(100% / var(--app-scale))}}@media(max-width:960px){:root{--app-scale: 1}}.app-shell{display:grid;grid-template-columns:320px 1fr;min-height:100vh}.sidebar{border-right:1px solid rgba(24,36,50,.08);background:#ffffffb8;backdrop-filter:blur(14px);padding:24px 18px}.project-tree-sidebar{display:grid;grid-template-rows:auto 1fr;gap:18px;overflow:hidden}.project-tree{display:grid;gap:12px;overflow:auto;padding-right:4px;align-content:start}.project-tree-section{border:1px solid rgba(24,36,50,.08);border-radius:18px;background:#ffffffc7;overflow:hidden;align-self:start}.project-tree-item{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;border:0;background:transparent;color:inherit;padding:10px 12px;text-align:left}.project-tree-item.active{background:linear-gradient(180deg,#eef7fff5,#def0ffeb)}.project-tree-item-main{display:flex;align-items:center;gap:8px;min-width:0}.project-tree-caret{color:#60748b;font-size:.9rem}.project-tree-name{font-weight:700}.project-tree-children{border-top:1px solid rgba(24,36,50,.08);background:#f7fbffd1;padding:10px 12px 12px}.project-tree-loading,.project-tree-empty{color:#60748b;font-size:.9rem}.project-tree-loading{display:flex;align-items:center;gap:10px}.project-tree-group+.project-tree-group{margin-top:14px;padding-top:14px;border-top:1px solid rgba(24,36,50,.08)}.project-tree-group-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:1px solid transparent;border-radius:12px;background:transparent;color:#445466;padding:8px 10px;text-align:left}.project-tree-group-toggle:hover{border-color:#0e749024;background:#ffffffbd}.project-tree-group-toggle.active{border-color:#0e74902e;background:#e6f7ffeb;color:#0f5e75}.project-tree-group-count{color:#60748b;font-size:.82rem;white-space:nowrap}.project-tree-db-list{display:grid;gap:6px;margin-top:8px}.project-history-list{display:grid;gap:8px;margin-bottom:12px}.project-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}.project-tree-db{display:flex;align-items:center;gap:10px;width:100%;border:1px solid transparent;border-radius:12px;background:transparent;color:#182432;padding:9px 10px;text-align:left}.project-tree-db:hover{border-color:#0e749029;background:#ffffffc7}.project-tree-db.active{border-color:#0e749038;background:#dbeafef5;color:#0b5c77}.project-tree-db-icon{flex:0 0 auto;min-width:28px;border-radius:999px;background:#3b82f61f;color:#1d4ed8;font-size:.74rem;font-weight:700;padding:3px 7px;text-align:center}.project-tree-db-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-tree-db-name strong,.project-tree-db-name small{display:block;overflow:hidden;text-overflow:ellipsis}.project-tree-db-name small{color:#60748b;font-size:.76rem;font-weight:500;margin-top:2px}.sidebar-header,.topbar{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px}.topbar{align-items:center;flex-direction:row;flex-wrap:nowrap}.topbar-actions{display:flex;align-items:center;flex:1 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:12px;min-width:0;width:auto}.eyebrow{margin:0 0 6px;color:#63758a;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}.ghost-button{border:1px solid rgba(24,36,50,.1);border-radius:999px;background:#fff;color:#60748b;padding:8px 12px}.manual-link-button,.auth-manual-link{align-items:center;display:inline-flex;justify-content:center;text-decoration:none}.topbar-compact-button{align-self:center;border-radius:999px;font-size:.92rem;height:36px;line-height:1;min-height:36px;padding:0 14px;white-space:nowrap}.ghost-button:disabled,.primary-button:disabled{cursor:not-allowed;opacity:.55}.active-soft-button{border-color:#0e749047;background:#e6f7ff;color:#0f5e75;font-weight:700}.limit-warning-banner,.limit-warning-inline{border:1px solid rgba(180,83,9,.18);border-radius:16px;background:#fff7edf5;color:#9a3412}.limit-warning-banner{padding:12px 14px;font-size:.88rem}.limit-warning-inline{margin-bottom:18px;padding:14px 16px}.search-box{display:block;margin-top:22px}.search-label{display:block;margin-bottom:8px;color:#63758a;font-size:.9rem}.search-box input{width:100%;border:1px solid rgba(24,36,50,.1);border-radius:14px;background:#ffffffe6;padding:12px 14px}.search-scope-switch{display:flex;gap:8px;margin-top:10px}.scope-chip{border:1px solid rgba(24,36,50,.08);border-radius:999px;background:#ffffffc7;color:#60748b;padding:8px 12px}.scope-chip.active{border-color:#0e749033;background:#ebf9fff5;color:#0f5e75}.space-section,.conversation-section{margin-top:24px}.section-title{margin:0 0 10px;color:#445466;font-weight:700}.section-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-button{border:1px solid rgba(14,116,144,.18);border-radius:999px;background:#ebf9fff2;color:#0f5e75;padding:8px 12px}.space-list{list-style:none;margin:0;padding:0}.space-item{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;border:1px solid transparent;border-radius:16px;background:transparent;color:inherit;margin-bottom:8px;padding:14px 12px;text-align:left;transition:border-color .16s ease,background-color .16s ease,transform .16s ease}.space-item:hover{border-color:#0e749024;background:#ffffffb3;transform:translateY(-1px)}.space-item.active{border-color:#0e74902e;background:linear-gradient(180deg,#ffffffeb,#eaf7fff0);box-shadow:0 10px 30px #487eb01f}.space-name{font-weight:700}.space-status{color:#60748b;font-size:.85rem;white-space:nowrap}.conversation-list{list-style:none;margin:0;padding:0}.conversation-item{display:grid;gap:6px;width:100%;border:1px solid transparent;border-radius:16px;background:transparent;color:inherit;margin-bottom:8px;padding:12px;text-align:left}.conversation-item:hover{background:#ffffffb8;border-color:#18243214}.conversation-item.active{background:#ffffffeb;border-color:#0e749033}.conversation-title{font-weight:700}.conversation-preview,.conversation-date,.helper-text,.empty-box p{color:#60748b;font-size:.9rem}.conversation-date{font-size:.82rem}.empty-box{border:1px dashed rgba(24,36,50,.12);border-radius:18px;background:#fff9;padding:16px}.main-panel{min-width:0;overflow-x:hidden;padding:28px}.content-stack{display:grid;gap:18px;margin-top:24px}.project-action-row{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.permission-tooltip-wrapper{position:relative;display:inline-flex}.permission-tooltip{position:absolute;left:50%;bottom:calc(100% + 8px);z-index:40;width:max-content;max-width:260px;transform:translate(-50%);pointer-events:none;opacity:0;visibility:hidden;border:1px solid rgba(24,36,50,.12);border-radius:10px;background:#182432f0;color:#fff;font-size:.78rem;line-height:1.45;padding:7px 9px;text-align:left;transition:opacity .12s ease,visibility .12s ease;white-space:normal}.permission-tooltip-sidebar .permission-tooltip{left:0;right:auto;transform:none}.permission-tooltip-wrapper:hover .permission-tooltip,.permission-tooltip-wrapper:focus-within .permission-tooltip{opacity:1;visibility:visible}.project-group-grid{display:grid;gap:16px;margin-top:20px}.project-group-card{border:1px solid rgba(24,36,50,.08);border-radius:18px;background:#f8fcffdb;padding:18px}.project-group-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.project-group-card-header h3{margin:0}.project-group-card-header span{color:#60748b;font-size:.88rem}.project-db-chip-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.project-db-chip{border:1px solid rgba(24,36,50,.1);border-radius:999px;background:#ffffffeb;color:#445466;padding:9px 14px}.project-db-chip:hover{border-color:#0e74902e;background:#e6f7fff5;color:#0f5e75}.topbar h1{margin:0;font-size:1.9rem}.storage-chip,.user-chip{display:grid;gap:2px;border:1px solid rgba(24,36,50,.08);border-radius:18px;background:#fffc;padding:12px 16px}.storage-chip{min-width:240px;gap:6px}.storage-label{color:#60748b;font-size:.8rem;font-weight:700}.storage-note{color:#60748b;font-size:.76rem}.storage-bar{width:100%;height:8px;border-radius:999px;background:#bfdbfe73;overflow:hidden}.storage-bar-fill{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#3b82f6,#0f766e)}.user-chip{flex:0 1 220px;max-width:220px;text-align:right}.user-name{font-weight:700}.user-email{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#60748b;font-size:.92rem}.user-menu{position:relative}.user-menu-button{display:inline-flex;align-items:center;gap:8px;min-height:38px;border:1px solid rgba(24,36,50,.1);border-radius:999px;background:#ffffffeb;color:#182432;cursor:pointer;padding:8px 12px;box-shadow:0 10px 24px #0f172a0f}.user-menu-button:hover{border-color:#0e74903d;background:#f0f9fff5}.user-menu-icon{width:18px;height:18px;border-radius:999px;background:linear-gradient(180deg,#0e7490,#155e75);color:transparent}.user-menu-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.user-menu-caret{color:#60748b;font-size:.78rem}.user-menu-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:30;min-width:190px;overflow:hidden;border:1px solid rgba(24,36,50,.1);border-radius:16px;background:#fffffffa;box-shadow:0 18px 45px #0f172a29}.user-menu-popover button{width:100%;border:0;background:transparent;color:#182432;cursor:pointer;padding:13px 16px;text-align:left}.user-menu-popover button:hover{background:#e6f7ffeb;color:#0f5e75}.user-menu-popover button:disabled{cursor:not-allowed;opacity:.55}.password-modal{width:min(520px,100%)}.content-grid{display:grid;gap:18px;margin-top:24px}.phase-two-grid{grid-template-columns:minmax(280px,360px) minmax(0,1fr);align-items:start}.card{border:1px solid rgba(24,36,50,.08);border-radius:24px;background:#fffc;box-shadow:0 24px 70px #5676931f;padding:24px}.card h2{margin-top:0;margin-bottom:12px;font-size:1.3rem}.hero-card{background:radial-gradient(circle at right top,rgba(14,165,233,.16),transparent 30%),#ffffffe0}.hero-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.space-description{max-width:70ch;color:#445466}.hero-notes{margin-top:18px}.meta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:20px 0 0}.meta-grid div{border-radius:18px;background:#f2f8fce6;padding:14px 16px}.meta-grid dt{color:#60748b;font-size:.88rem}.meta-grid dd{margin:6px 0 0;font-weight:700}.check-list{margin:0;padding-left:18px}.conversation-card{min-height:520px}.admin-layout{display:grid;gap:18px;grid-template-columns:220px minmax(0,1fr);align-items:start}.admin-tabs{display:grid;gap:8px}.admin-tab{border:1px solid rgba(24,36,50,.08);border-radius:16px;background:#fffc;color:#445466;padding:13px 14px;text-align:left}.admin-tab.active{border-color:#0e749038;background:#e6f7fff2;color:#0f5e75;font-weight:700}.admin-panel{min-width:0}.admin-section{display:grid;gap:18px}.admin-section-header,.admin-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.admin-section-header h3{margin:0 0 8px}.admin-section-header p{margin:0;color:#60748b}.admin-info{border:1px solid rgba(14,116,144,.16);border-radius:16px;background:#f0f9ffe6;color:#0f5e75;margin:0 0 16px;padding:12px 14px}.admin-toolbar{align-items:center;justify-content:flex-start}.admin-toolbar select,.admin-user-form select,.admin-date-filter input{border:1px solid rgba(24,36,50,.12);border-radius:14px;background:#fffffff2;color:#182432;padding:10px 12px}.admin-date-filter{display:inline-flex;align-items:center;gap:8px;color:#60748b;font-size:.9rem}.segmented-control{display:inline-flex;gap:4px;border:1px solid rgba(24,36,50,.08);border-radius:999px;background:#ffffffc7;padding:4px}.segmented-control button{border:0;border-radius:999px;background:transparent;color:#60748b;padding:8px 12px}.segmented-control button.active{background:#e6f7ff;color:#0f5e75;font-weight:700}.admin-table-wrap{overflow:auto;border:1px solid rgba(24,36,50,.08);border-radius:18px;background:#ffffffd1}.admin-table-wrap.compact .admin-table{min-width:560px}.admin-table{width:100%;border-collapse:collapse;min-width:760px}.admin-table th,.admin-table td{border-bottom:1px solid rgba(24,36,50,.08);padding:11px 12px;text-align:left;vertical-align:top}.admin-table th{background:#e2f0faeb;color:#445466;font-size:.88rem;font-weight:700}.admin-table tr:last-child td{border-bottom:0}.admin-table-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-status-stack{display:grid;gap:4px}.warning-text{color:#b45309;font-weight:700}.compact-danger-button{border-radius:999px;padding:0 14px;min-height:36px}.role-pill{display:inline-flex;border-radius:999px;font-size:.82rem;font-weight:700;padding:5px 10px}.role-admin{background:#dbeafef2;color:#1d4ed8}.role-editor{background:#ccfbf1e6;color:#0f766e}.role-viewer{background:#f1f5f9f2;color:#475569}.admin-metrics-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.admin-metric-card{border:1px solid rgba(24,36,50,.08);border-radius:18px;background:#f8fcffdb;padding:18px}.admin-metric-card span{color:#60748b;display:block;font-size:.88rem;font-weight:700}.admin-metric-card strong{display:block;font-size:1.35rem;margin-top:8px}.admin-metric-card p,.admin-form-note{color:#60748b}.admin-detail-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:16px}.admin-detail-panel{display:grid;gap:12px;margin-top:16px}.admin-detail-grid .admin-detail-panel{margin-top:0}.admin-detail-panel h4{margin:0}.admin-definition-list{display:grid;gap:8px;margin:0}.admin-definition-list div{display:grid;gap:4px;grid-template-columns:100px minmax(0,1fr)}.admin-definition-list dt{color:#60748b;font-weight:700}.admin-definition-list dd{margin:0;overflow-wrap:anywhere}.admin-user-modal{width:min(680px,100%)}.admin-form-note{border:1px solid rgba(180,83,9,.18);border-radius:14px;background:#fff7edeb;padding:12px 14px}.search-results-header,.search-section-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.search-summary{color:#60748b;font-size:.9rem}.search-sections{display:grid;gap:20px}.search-section h3{margin:0}.search-result-list{display:grid;gap:12px;margin-top:12px}.search-result-card{display:grid;gap:8px;width:100%;border:1px solid rgba(24,36,50,.08);border-radius:18px;background:#ffffffe6;color:inherit;padding:14px 16px;text-align:left}.search-result-card:hover{border-color:#0e74902e;background:#f0f9fff5}.search-result-card p{margin:0;color:#445466}.search-result-topline{display:flex;align-items:center;justify-content:space-between;gap:16px}.search-result-topline span,.search-result-date,.empty-inline{color:#60748b;font-size:.88rem}.empty-inline{border:1px dashed rgba(24,36,50,.12);border-radius:16px;background:#ffffffb8;padding:14px 16px}.conversation-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.conversation-header-actions{display:flex;align-items:flex-start;gap:12px}.conversation-meta{display:grid;gap:4px;color:#60748b;font-size:.9rem;text-align:right}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid rgba(24,36,50,.1);border-radius:14px;background:#ffffffeb;color:#60748b}.icon-button svg{width:20px;height:20px;fill:currentColor}.icon-button.danger{color:#9f1239;border-color:#9f12392e;background:#fff1f2f0}.small-icon-button{width:34px;height:34px;border-radius:10px}.small-icon-button svg{width:16px;height:16px}.empty-detail{border:1px dashed rgba(24,36,50,.14);border-radius:20px;background:#f8fcffc7;padding:24px}.empty-detail h2,.empty-detail h3{margin-top:0}.collapsible-card{padding:0;overflow:hidden}.collapsible-header{align-items:center;background:transparent;border:0;color:inherit;display:flex;gap:16px;justify-content:space-between;padding:20px 24px;text-align:left;width:100%}.collapsible-header strong{display:block;font-size:1.12rem;margin-top:4px}.collapsible-caret{border:1px solid rgba(24,36,50,.1);border-radius:12px;color:#445466;display:inline-flex;flex:0 0 auto;font-size:1rem;height:36px;align-items:center;justify-content:center;width:36px}.collapsible-body{border-top:1px solid rgba(24,36,50,.08);padding:20px 24px 24px}.history-diff-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.history-diff-panel{display:grid;gap:18px}.history-diff-cell{background:#f2f8fce6;border-radius:16px;padding:14px 16px}.history-diff-cell span{color:#60748b;display:block;font-size:.86rem}.history-diff-cell strong{display:block;font-size:1.08rem;margin-top:6px}.history-diff-details{border:1px solid rgba(24,36,50,.08);border-radius:16px;overflow:hidden}.history-diff-detail-header,.history-diff-detail-row{display:grid;grid-template-columns:130px repeat(3,minmax(0,1fr));gap:0}.history-diff-detail-header{background:#e2f0fae6;color:#445466;font-size:.86rem;font-weight:700}.history-diff-detail-row{border-top:1px solid rgba(24,36,50,.08);align-items:start}.history-diff-detail-header>span,.history-diff-detail-row>strong,.history-diff-detail-row>span,.history-diff-detail-row>pre{align-self:start;margin:0;min-height:100%;padding:12px 14px}.history-diff-detail-header>span+span,.history-diff-detail-row>strong+*,.history-diff-detail-row>*+*{border-left:1px solid rgba(24,36,50,.08)}.history-diff-tree{color:#182432;font-family:BIZ UDPGothic,Yu Gothic UI,Meiryo,monospace;font-size:.9rem;line-height:1.65;overflow-x:auto;white-space:pre}.history-diff-none,.history-diff-empty{color:#60748b}.history-diff-empty{border-top:1px solid rgba(24,36,50,.08);margin:0;padding:14px}.flow-panel{display:grid;gap:16px}.message-list{display:grid;gap:14px;margin-bottom:22px}.message-bubble{border-radius:20px;padding:16px 18px}.message-bubble.user{background:#e2f4ffeb}.message-bubble.assistant,.message-bubble.system{background:#f3f7fbeb}.message-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;color:#60748b;font-size:.84rem;text-transform:uppercase}.message-bubble p{margin:0;white-space:pre-wrap}.composer-card{border-top:1px solid rgba(24,36,50,.08);margin-top:24px;padding-top:20px}.composer-label{display:block;margin-bottom:10px;color:#445466;font-weight:700}.composer-card textarea{width:100%;min-height:120px;resize:vertical;border:1px solid rgba(24,36,50,.12);border-radius:18px;background:#fffffff2;padding:14px 16px}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}.primary-button{border:1px solid rgba(3,105,161,.22);border-radius:999px;background:linear-gradient(180deg,#f5fbff,#dff3ff);color:#0a5771;padding:10px 16px;white-space:nowrap}.modal-backdrop{position:fixed;inset:0;display:grid;place-items:center;background:#0f172a47;backdrop-filter:blur(8px);padding:24px}.modal-card{width:min(760px,100%);border:1px solid rgba(24,36,50,.08);border-radius:28px;background:#fffffff5;box-shadow:0 30px 90px #36495e3d;padding:24px}.confirm-modal{width:min(520px,100%)}.modal-header,.modal-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.modal-form{display:grid;gap:16px;margin:20px 0}.form-field{display:grid;gap:8px}.form-field span{color:#445466;font-weight:700}.required-mark{color:#b91c1c}.form-field input,.form-field textarea{width:100%;border:1px solid rgba(24,36,50,.12);border-radius:16px;background:#fffffffa;padding:12px 14px}.form-field small{color:#60748b}.progress-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid rgba(14,116,144,.16);border-radius:16px;background:#f0f9ffdb;padding:14px 16px}.progress-panel-main{display:flex;align-items:center;gap:12px}.progress-spinner{width:20px;height:20px;border-width:2px}.modal-error{border:1px solid rgba(185,28,28,.16);border-radius:16px;background:#fff5f5f2;color:#8f1d1d;padding:12px 14px}.error-card{border-color:#b91c1c29;background:#fff5f5e6}.danger-button{border-color:#b91c1c33;background:linear-gradient(180deg,#fff5f5,#ffe4e6);color:#9f1239}.document-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.document-toolbar,.document-sheet-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.document-sheet-tabs{align-content:flex-start;max-height:208px;overflow-y:auto;overscroll-behavior:contain;padding-right:6px;scrollbar-gutter:stable}.document-tab,.document-sheet-tab{border:1px solid rgba(24,36,50,.1);border-radius:999px;background:#ffffffe0;color:#445466;padding:9px 14px}.document-tab.active,.document-sheet-tab.active{border-color:#0e749038;background:#e6f7fff5;color:#0f5e75}.procedure-view{display:grid;gap:16px;margin-top:20px}.procedure-summary,.procedure-section{border:1px solid rgba(24,36,50,.08);border-radius:18px;background:#ffffffd1;padding:18px}.procedure-section h3{margin-top:0}.procedure-section ul{margin:12px 0 0;padding-left:20px}.workbook-view{display:grid;gap:14px;margin-top:20px}.document-body{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;margin-top:20px}.document-body.single-file{grid-template-columns:minmax(0,1fr)}.document-folder-panel{border:1px solid rgba(24,36,50,.08);border-radius:18px;background:#f7fbffe6;padding:16px}.document-folder-group+.document-folder-group{margin-top:16px;padding-top:16px;border-top:1px solid rgba(24,36,50,.08)}.document-folder-title{margin:0 0 10px;color:#445466;font-size:.9rem;font-weight:700}.document-file-list{display:grid;gap:8px}.document-file-item{border:1px solid rgba(24,36,50,.08);border-radius:14px;background:#ffffffe6;color:#445466;padding:10px 12px;text-align:left}.document-file-item.active{border-color:#0e749038;background:#e6f7fff5;color:#0f5e75}.document-view-panel{display:grid;gap:14px}.document-file-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.document-loading{display:flex;align-items:center;gap:16px;min-height:220px;justify-content:center;text-align:left}.loading-spinner{width:32px;height:32px;border:3px solid rgba(14,116,144,.14);border-top-color:#0f5e75;border-radius:50%;animation:spin .8s linear infinite}.loading-spinner.small{width:18px;height:18px;border-width:2px}.workbook-sheet{overflow:auto;border:1px solid rgba(24,36,50,.08);border-radius:18px;background:#ffffffe0;padding:12px}.document-table{width:100%;border-collapse:collapse;font-size:.93rem;table-layout:fixed}.doc-cell{border:1px solid rgba(166,182,197,.7);overflow-wrap:anywhere;padding:8px 10px;vertical-align:top;word-break:break-word;white-space:pre-wrap}.doc-cell.number-cell{overflow-wrap:normal;text-align:right;white-space:nowrap;word-break:normal}.doc-row-diff-highlight .doc-cell{color:#b91c1c;font-weight:800}.doc-row-diff-highlight .doc-cell span,.doc-cell-diff-highlight span{font-weight:800}.doc-cell-diff-highlight{color:#b91c1c;font-weight:800}.doc-cell.left{text-align:left}.doc-cell.center{text-align:center}.doc-cell.right{text-align:right}.doc-cell.title{background:#1f4e79;color:#fff;font-weight:700}.doc-cell.header{background:#2e75b6;color:#fff;font-weight:700}.doc-cell.label{background:#dbe7f5;font-weight:700}.doc-cell.value{background:#fff}.doc-cell.bodyA{background:#eef5fb}.doc-cell.bodyB{background:#fff}.doc-cell.section{background:#44546a;color:#fff;font-weight:700}.doc-cell.subsection{background:#ddebf7;font-weight:700}.doc-cell.key{background:#fff2cc}.doc-cell.calc{background:#e2f0d9}.doc-cell.link{background:#f3e8ff}.doc-cell.muted{background:#f7f9fb;color:#64748b}.doc-row-spacer td{height:12px;border:0;background:transparent}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.auth-shell{min-height:100vh;padding:48px 24px 28px;display:grid;gap:20px;align-content:start;justify-items:center;background:radial-gradient(circle at top left,rgba(91,164,255,.22),transparent 38%),radial-gradient(circle at bottom right,rgba(13,148,136,.18),transparent 34%),#f3f8ff}.auth-header{width:min(720px,100%);text-align:center;color:#12304b;margin-top:44px}.auth-header h1{margin:8px 0 12px;font-size:clamp(2rem,3.4vw,3rem)}.auth-header p:last-child{margin:0;color:#4d647b}.auth-card{width:min(520px,100%);padding:28px;border-radius:28px;background:#fffffff0;box-shadow:0 20px 60px #10263f1f;border:1px solid rgba(29,78,137,.08)}.info-card{border-color:#0e74902e;background:#f0f9fff5;color:#0f5e75}.info-card p{margin:0}.auth-card-body{display:grid;gap:16px}.auth-card h2{margin:0}.auth-description{margin:0;color:#4d647b;line-height:1.7}.auth-login-form{display:grid;gap:16px}.auth-submit-button{justify-self:stretch}.google-login-button-wrap{display:flex;justify-content:center;padding:8px 0}.auth-manual-link{width:100%}.auth-loading{justify-content:center}.manual-shell{min-height:100vh;padding:36px 24px 28px;background:radial-gradient(circle at top left,rgba(91,164,255,.22),transparent 38%),radial-gradient(circle at bottom right,rgba(13,148,136,.18),transparent 34%),#f3f8ff}.manual-shell.embedded{min-height:auto;padding:0;background:transparent}.manual-card{margin:0 auto;max-width:1180px}.manual-shell.embedded .manual-card{max-width:none}.manual-hero-header{align-items:flex-start;display:flex;gap:18px;justify-content:space-between}.manual-hero-header h1{margin:8px 0 10px}.manual-lead{margin:0;color:#4d647b;line-height:1.7;max-width:720px}.manual-content{display:grid;gap:22px;margin-top:24px}.manual-section h2{margin:0 0 14px;font-size:1.05rem}.manual-list{margin:0;padding-left:20px;color:#30475d;line-height:1.8}.manual-list li+li{margin-top:8px}@media(max-width:960px){.app-shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid rgba(24,36,50,.08)}.project-tree-sidebar{max-height:50vh}.topbar{align-items:flex-start;flex-direction:column}.topbar-actions{width:100%;flex-direction:column}.phase-two-grid,.document-body{grid-template-columns:1fr}.conversation-header{flex-direction:column}.composer-footer,.modal-header,.modal-footer,.document-file-header{align-items:stretch;flex-direction:column}.project-action-row{justify-content:stretch}.user-chip{text-align:left}.storage-chip{min-width:0;width:100%}.history-diff-detail-header,.history-diff-detail-row,.admin-layout{grid-template-columns:1fr}.admin-tabs{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.auth-shell{padding:28px 16px 20px}.auth-card{padding:22px}.manual-shell{padding:24px 16px 20px}.manual-hero-header{align-items:stretch;flex-direction:column}}:root{--app-scale: 1;--color-bg: #f6f8fb;--color-panel: #ffffff;--color-line: #d8dee8;--color-text: #172033;--color-muted: #5d687a;--color-blue: #2563eb;--color-navy: #06264a;--color-green: #16a34a;--color-orange: #f97316;--color-red: #dc2626;--color-amber: #f59e0b;color:var(--color-text);background:var(--color-bg)}body{background:var(--color-bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{grid-template-columns:276px minmax(0,1fr);background:var(--color-bg)}.sidebar{border-right:0;background:linear-gradient(180deg,#06264a,#031a35);color:#eaf2ff;padding:18px 14px}.project-tree-sidebar{display:flex;flex-direction:column;gap:14px;min-height:100vh}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.12);padding:2px 4px 16px}.sidebar-brand>div{display:grid;gap:4px}.sidebar-logo{color:#fff;font-size:1.34rem;letter-spacing:0}.sidebar-brand span,.sidebar-section-title{color:#eaf2ffb8;font-size:.78rem}.sidebar-section-title{font-weight:700;padding:0 6px}.sidebar-nav{display:grid;gap:6px}.sidebar-admin-nav{border-top:1px solid rgba(255,255,255,.12);padding-top:12px}.sidebar-nav-button{width:100%;min-height:36px;border:1px solid transparent;border-radius:6px;background:transparent;color:#eaf2ffdb;padding:8px 10px;text-align:left}.sidebar-nav-button:hover{background:#ffffff14;color:#fff}.sidebar-nav-button.active{border-color:#60a5fa57;background:#0b5bd3;color:#fff;font-weight:700}.sidebar-nav-button:disabled{cursor:not-allowed;opacity:.48}.project-tree{flex:1 1 auto;gap:8px;min-height:160px;padding-right:0}.project-tree-section,.empty-box{border-color:#ffffff1c;border-radius:6px;background:#ffffff0f;color:#eaf2ff}.project-tree-item,.project-tree-group-toggle,.project-tree-db{border-radius:6px;color:#eaf2ffe6}.project-tree-item.active,.project-tree-group-toggle.active,.project-tree-db.active{border-color:#60a5fa52;background:#2563eb52;color:#fff}.project-tree-children{border-top-color:#ffffff1c;background:#031a356b}.project-tree-caret,.project-tree-group-count,.project-tree-loading,.project-tree-empty,.empty-box p{color:#eaf2ffad}.project-tree-db-icon{border-radius:4px;background:#60a5fa2e;color:#bfdbfe}.main-panel{padding:0}.topbar{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(220px,1fr) minmax(360px,1.4fr) auto;align-items:center;gap:16px;border-bottom:1px solid var(--color-line);background:#fffffff5;padding:14px 22px}.topbar h1{color:var(--color-text);font-size:1.22rem;line-height:1.25}.topbar .eyebrow{color:var(--color-muted);letter-spacing:0;text-transform:none}.topbar-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}.topbar-context div{min-width:0;border-left:1px solid var(--color-line);padding-left:10px}.topbar-context span{display:block;color:var(--color-muted);font-size:.72rem}.topbar-context strong{display:block;overflow:hidden;color:var(--color-text);font-size:.84rem;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{flex:initial;justify-content:flex-end;gap:8px}.content-stack,.content-grid{margin-top:0;padding:20px 22px 28px}.card,.collapsible-card,.document-view-panel,.document-folder-panel,.admin-panel,.admin-metric-card,.admin-detail-panel,.auth-card,.modal-card{border:1px solid var(--color-line);border-radius:8px;background:var(--color-panel);box-shadow:0 8px 24px #0f172a0f}.hero-card{background:var(--color-panel)}.primary-button{border:1px solid #1d4ed8;border-radius:6px;background:#2563eb;color:#fff;font-weight:700;padding:9px 14px}.primary-button:hover{background:#1d4ed8}.ghost-button,.section-button,.topbar-compact-button{border:1px solid var(--color-line);border-radius:6px;background:#fff;color:#334155;font-weight:600}.danger-button,.compact-danger-button,.icon-button.danger{border-radius:6px}.storage-chip{min-width:190px;border-color:var(--color-line);border-radius:6px;background:#fff;padding:8px 10px}.storage-label,.helper-text,.conversation-preview,.conversation-date{color:var(--color-muted)}.storage-bar-fill{background:linear-gradient(90deg,#22c55e,#2563eb)}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--color-line);border-radius:8px;background:#fff;padding:22px}.dashboard-hero h2,.dashboard-table-card h2,.dashboard-side-panel h2{margin:0 0 8px;font-size:1.22rem}.dashboard-hero p:last-child{max-width:760px;margin:0;color:var(--color-muted)}.dashboard-action-row,.action-list{display:grid;gap:10px}.dashboard-action-row{grid-auto-flow:column;align-items:center}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card{display:grid;gap:6px;min-height:116px;border:1px solid var(--color-line);border-radius:8px;background:#fff;padding:16px}.metric-card span{color:var(--color-muted);font-size:.82rem;font-weight:700}.metric-card strong{color:var(--color-text);font-size:1.52rem}.metric-card small{color:var(--color-muted)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);gap:16px}.action-list button{display:grid;gap:4px;width:100%;border:1px solid var(--color-line);border-radius:8px;background:#f8fafc;color:var(--color-text);padding:13px 14px;text-align:left}.action-list button:hover{border-color:#bfdbfe;background:#eff6ff}.action-list button:disabled{cursor:not-allowed;opacity:.55}.action-list span{color:var(--color-muted);font-size:.86rem}.manual-preview .manual-shell.embedded{padding:0}.admin-tabs,.document-sheet-tabs,.document-toolbar{gap:8px}.admin-tab,.document-tab,.document-sheet-tab,.segmented-control button{border-radius:6px}.admin-tab.active,.document-tab.active,.document-sheet-tab.active,.segmented-control button.active{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.admin-table-wrap{border-color:var(--color-line);border-radius:8px}.admin-table th{background:#f8fafc;color:#475569}.admin-table th,.admin-table td{border-bottom-color:#e5eaf2}.status-badge{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;font-size:.78rem;font-weight:700;padding:3px 9px;white-space:nowrap}.status-badge.success{background:#dcfce7;color:#166534}.status-badge.info{background:#dbeafe;color:#1d4ed8}.status-badge.danger{background:#fee2e2;color:#b91c1c}.status-badge.muted{background:#e2e8f0;color:#475569}.history-diff-grid{grid-template-columns:repeat(auto-fit,minmax(132px,1fr))}.history-diff-cell{border-color:var(--color-line);border-radius:8px;background:#fff}.history-diff-detail-header{background:#f8fafc}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(320px,420px);align-content:center;justify-content:center;background:#f6f8fb;padding:44px 20px}.auth-header{margin-bottom:18px;text-align:center}.auth-header h1{color:#1d4ed8;letter-spacing:0}.login-card{width:min(420px,100%)}.login-card-body{display:grid;gap:14px}.login-target-card,.login-security-note{display:grid;gap:4px;border:1px solid var(--color-line);border-radius:8px;background:#f8fafc;padding:12px}.login-target-card span,.login-security-note span{color:var(--color-muted);font-size:.86rem}.login-helper-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.login-helper-row span{color:var(--color-muted);font-size:.84rem}.login-error{margin:0}.auth-login-form{gap:12px}.auth-submit-button{width:100%}.auth-manual-link{min-height:34px}.modal-backdrop{z-index:50;background:#0f172a6b}.modal-card{border-radius:8px}.import-modal-card{width:min(980px,100%)}.import-workflow-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);gap:16px;align-items:start}.import-workflow-grid.single{grid-template-columns:1fr}.import-main-panel{display:grid;gap:14px}.import-dropzone{display:grid;place-items:center;min-height:220px;border:1px dashed #93c5fd;border-radius:8px;background:#f8fbff;color:var(--color-muted);padding:20px;text-align:center}.import-dropzone strong{color:var(--color-text);font-size:1rem}.import-dropzone em{max-width:100%;overflow:hidden;color:#1d4ed8;font-style:normal;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.import-dropzone-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:1.4rem;font-weight:700}.import-check-panel{border:1px solid var(--color-line);border-radius:8px;background:#fff;padding:16px}.import-check-panel h3{margin:0 0 12px}.import-check-panel dl{display:grid;gap:10px;margin:0}.import-check-panel div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px}.import-check-panel dt{color:var(--color-muted);font-weight:700}.import-check-panel dd{margin:0;min-width:0}.import-check-panel .check-ok{color:#166534;font-weight:700}.import-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.import-stepper span{border:1px solid var(--color-line);border-radius:999px;background:#f8fafc;color:var(--color-muted);font-size:.84rem;font-weight:700;padding:8px 10px;text-align:center}.import-stepper span.active{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;padding:0}@media(max-width:1100px){.app-shell{grid-template-columns:1fr}.project-tree-sidebar{position:static;min-height:auto}.topbar,.topbar-context,.dashboard-metrics,.dashboard-grid,.import-workflow-grid{grid-template-columns:1fr}.dashboard-hero,.dashboard-action-row{align-items:stretch;grid-auto-flow:row;flex-direction:column}}.app-shell{grid-template-columns:220px minmax(0,1fr);background:#f4f8fc}.sidebar{background:linear-gradient(180deg,#072e57,#052746);padding:20px 14px 18px}.project-tree-sidebar{gap:18px;position:sticky;top:0;height:100vh}.sidebar-logo{font-size:1.68rem;line-height:1}.sidebar-brand span{font-size:.79rem;font-weight:700}.sidebar-nav{gap:8px}.sidebar-nav-button{display:flex;align-items:center;gap:12px;min-height:42px;padding:10px 12px;font-size:.95rem;text-align:left}.sidebar-nav-button.active{background:#0568df}.sidebar-nav-icon{display:inline-grid;flex:0 0 auto;place-items:center;width:20px;color:#eaf2ff;font-size:1.15rem}.sidebar-nav-expand{margin-left:auto;opacity:.86}.sidebar-section-title{color:#eaf2ffc2;font-size:.86rem}.sidebar-admin-nav{margin-top:0}.sidebar-user-card{position:relative;display:grid;grid-template-columns:36px 1fr 24px;gap:10px;align-items:center;margin-top:auto;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:#ffffff0f;color:#eaf2ff;padding:10px}.sidebar-user-avatar{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:999px;background:#ffffff29;color:#94a3b8}.sidebar-user-card strong,.sidebar-user-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-card small{color:#eaf2ffbd;font-size:.78rem;margin-top:2px}.sidebar-user-card>button{border:0;background:transparent;color:#eaf2ff;font-size:1rem}.sidebar-user-popover{position:absolute;right:8px;bottom:calc(100% + 8px);z-index:30;display:grid;min-width:160px;border:1px solid #d8e1ed;border-radius:8px;background:#fff;box-shadow:0 12px 26px #0f172a29;padding:6px}.sidebar-user-popover button{border:0;border-radius:6px;background:transparent;color:#0f172a;padding:9px 10px;text-align:left}.main-panel{background:#f4f8fc}.topbar{min-height:74px;grid-template-columns:minmax(210px,.55fr) minmax(520px,1.35fr) auto;border-bottom:1px solid #d8e1ed;background:#fffffff5;padding:10px 28px}.topbar-actions{min-width:190px}.topbar-actions .storage-chip{margin-left:auto}.topbar-actions .topbar-compact-button,.topbar-actions .user-menu{display:none}.dashboard-svg-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;vector-effect:non-scaling-stroke}.dashboard-quick-button .dashboard-svg-icon{width:34px;height:34px;stroke-width:1.9}.topbar-title-row{display:flex;align-items:center;gap:0;min-width:0}.topbar-menu-button{display:none;place-items:center;width:28px;height:28px;border:0;background:transparent;color:#0f172a;font-size:1.45rem;padding:0}.topbar h1{font-size:1.14rem;font-weight:800}.topbar-context{grid-template-columns:repeat(3,minmax(0,1fr))}.topbar-context span{font-size:.73rem;font-weight:700}.topbar-context strong{font-size:.94rem}.content-stack.dashboard-home{gap:18px;padding:22px}.dashboard-reference-metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.dashboard-stat-card{justify-items:center;min-height:194px;align-content:start;border-radius:10px;padding:20px 16px;box-shadow:0 2px 10px #0f172a14}.dashboard-stat-card>small{text-align:center}.dashboard-stat-title{color:#0f172a;font-size:.95rem;font-weight:800;text-align:center}.dashboard-stat-main{display:flex;align-items:center;justify-content:center;gap:12px;min-height:72px}.dashboard-stat-main.compact{align-items:center}.dashboard-stat-main strong{white-space:pre-line;color:#0f172a;font-size:2rem;line-height:1.15}.dashboard-stat-main.compact strong{font-size:1.3rem;text-align:left}.dashboard-stat-main small{align-self:flex-end;margin-bottom:12px;color:#0f172a;font-weight:800}.dashboard-stat-icon{display:inline-grid;place-items:center;width:48px;height:48px;border:3px solid currentColor;border-radius:8px;font-weight:800}.dashboard-stat-icon.blue,.dashboard-stat-icon.database{color:#0b63d8}.dashboard-stat-icon.green{color:#11966c}.dashboard-stat-icon.orange{color:#f28a0c;border-radius:999px}.dashboard-diff-card{text-align:center}.dashboard-diff-lines{display:grid;gap:7px;justify-content:center;margin:8px 0}.dashboard-diff-lines span{font-weight:800}.diff-add,.legend-add{color:#16a34a}.diff-update,.legend-update{color:#f97316}.diff-delete,.legend-delete{color:#ef4444}.dashboard-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;border:1px solid #d8e1ed;border-radius:10px;background:#fff;padding:22px 16px;box-shadow:0 2px 10px #0f172a0f}.dashboard-quick-actions>.permission-tooltip-wrapper{display:block}.dashboard-quick-actions>.permission-tooltip-wrapper .dashboard-quick-button{width:100%}.dashboard-quick-button{display:grid;grid-template-columns:54px 1fr;column-gap:14px;align-items:center;min-height:88px;border:0;border-radius:8px;color:#fff;padding:16px 22px;text-align:left;box-shadow:0 8px 16px #0f172a1f}.dashboard-quick-button span{display:inline-grid;place-items:center;width:54px;height:54px;grid-row:span 2;text-align:center}.dashboard-quick-button strong{font-size:1.15rem}.dashboard-quick-button small{color:#ffffffdb;font-weight:700}.dashboard-quick-button.blue{background:linear-gradient(135deg,#0667ff,#0057d9)}.dashboard-quick-button.navy{background:linear-gradient(135deg,#075cbd,#053d89)}.dashboard-quick-button.green{background:linear-gradient(135deg,#10a879,#05845e)}.dashboard-quick-button.purple{background:linear-gradient(135deg,#6d4bd6,#5534be)}.dashboard-quick-button:disabled{opacity:.55}.dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(360px,.8fr);gap:16px}.dashboard-table-card,.dashboard-side-panel{border-radius:10px;box-shadow:0 2px 10px #0f172a0f}.dashboard-table-card{min-height:488px}.dashboard-table-card .admin-table th,.dashboard-table-card .admin-table td{padding:12px 14px;vertical-align:middle}.dashboard-table-diff{display:grid;gap:2px;font-size:.78rem;font-weight:800}.dashboard-table-date{display:grid;gap:3px;line-height:1.25;white-space:nowrap}.dashboard-side-stack{display:grid;gap:16px}.diff-donut-card{display:grid;grid-template-columns:146px 1fr;gap:18px;align-items:center}.diff-donut{position:relative;display:grid;place-items:center;width:138px;height:138px;border-radius:999px}.diff-donut:after{position:absolute;inset:34px;border-radius:999px;background:#fff;content:""}.diff-donut span{position:relative;z-index:1;display:grid;justify-items:center;color:#0f172a;font-weight:800}.diff-donut strong{font-size:1.9rem;line-height:1}.diff-legend{display:grid;gap:14px}.diff-legend span{display:flex;gap:10px;align-items:center;color:#334155;font-weight:800;white-space:nowrap}.diff-legend span strong{margin-left:auto}.diff-legend i{width:14px;height:14px;border-radius:999px}.legend-add{background:#16a34a}.legend-update{background:#f97316}.legend-delete{background:#ef4444}.storage-summary-large{display:block;margin:4px 0 8px;color:#0f172a;font-size:1.2rem}.dashboard-storage-bar{height:10px;overflow:hidden}.dashboard-storage-bar span,.dashboard-storage-bar .storage-bar-fill{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#16a34a,#22c55e)}.storage-manage-link{min-height:24px;border:0;background:transparent;color:#1d4ed8;font-weight:800;padding:0;text-decoration:none}.storage-manage-link:after{margin-left:6px;content:">"}.storage-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.storage-breakdown span{display:grid;gap:4px;border-radius:6px;background:#f1f5f9;color:#475569;font-size:.82rem;font-weight:700;padding:10px}.storage-breakdown strong{color:#0f172a}.dashboard-storage-note{border-radius:8px;background:#eaf2ff;color:#1d4ed8;font-size:.86rem;font-weight:700;line-height:1.6;margin:14px 0 0;padding:12px 14px}.auth-shell{min-height:100vh;grid-template-columns:minmax(320px,672px);align-content:start;justify-content:center;justify-items:center;gap:22px;background:#f5f9ff;padding:43px 20px 36px;color:#1f2937}.auth-header{width:min(672px,100%);margin:0;text-align:center}.auth-header h1{margin:0;color:#0b4ab8;font-size:4.2rem;line-height:.98;font-weight:800;letter-spacing:0}.auth-product-name{margin:9px 0 18px;color:#25303d;font-size:1.25rem;font-weight:800;line-height:1.25}.auth-tenant-name{display:inline-flex;align-items:center;justify-content:center;gap:12px;margin:0;color:#2e3744;font-size:1.25rem;font-weight:700;line-height:1.3}.auth-tenant-icon{display:inline-grid;place-items:center;width:28px;height:28px;color:#0b4ab8;font-size:1.65rem;line-height:1}.login-panel-wrap{display:grid;gap:36px;width:min(672px,100%)}.login-card{width:100%;padding:32px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 10px 26px #0f172a26}.login-card-body{display:grid;gap:27px}.login-error{display:flex;align-items:center;gap:18px;min-height:58px;margin:0;border:1px solid #ef4444;border-radius:6px;background:snow;color:#dc2626;padding:14px 20px;font-size:1.2rem;font-weight:800;line-height:1.25}.login-error-icon{display:inline-grid;flex:0 0 auto;place-items:center;width:29px;height:29px;border:3px solid currentColor;border-radius:999px;font-size:1.1rem;font-weight:900;line-height:1}.auth-login-form{display:grid;gap:22px}.login-card .form-field{gap:9px}.login-card .form-field>span:first-child{color:#1f2937;font-size:1.22rem;font-weight:800;line-height:1.2}.login-card .form-field input{height:57px;border:1px solid #b9c0c9;border-radius:6px;background:#fff;color:#1f2937;padding:0 20px;font-size:1.25rem;line-height:1;box-shadow:inset 0 1px 2px #0f172a14}.login-card .form-field input:-webkit-autofill,.login-card .form-field input:-webkit-autofill:hover,.login-card .form-field input:-webkit-autofill:focus,.password-help-card .form-field input:-webkit-autofill,.password-help-card .form-field input:-webkit-autofill:hover,.password-help-card .form-field input:-webkit-autofill:focus{-webkit-text-fill-color:#1f2937;box-shadow:inset 0 0 0 1000px #fff;font:inherit;font-size:1.25rem;line-height:1;transition:background-color 9999s ease-out}.login-card .form-field input::placeholder{color:#9ca3af;opacity:1}.login-card .form-field input:focus{border-color:#2563eb;outline:3px solid rgba(37,99,235,.15)}.password-input-wrap{position:relative;display:block}.login-card .password-input-wrap input{padding-right:60px}.password-visibility-button{position:absolute;top:50%;right:14px;display:inline-grid;place-items:center;width:36px;height:36px;border:0;background:transparent;color:#69707b;padding:0;transform:translateY(-50%)}.password-visibility-button svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2}.auth-submit-button{width:100%;height:65px;border:1px solid #005be8;border-radius:6px;background:#0068ff;color:#fff;font-size:1.34rem;font-weight:800;box-shadow:0 8px 16px #0068ff2e}.auth-submit-button:hover{background:#005be8}.login-helper-row{display:grid;grid-template-columns:1fr 1fr;gap:0;border-top:1px solid #cfd5dd;padding-top:27px}.login-support-link{display:inline-flex;align-items:center;justify-content:flex-start;min-height:32px;gap:14px;color:#0068ff;font-size:1.18rem;font-weight:800;line-height:1.2;text-decoration:none}.login-support-link:nth-child(2){justify-content:flex-end}.login-support-link svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.login-help-icon{display:inline-grid;place-items:center;width:28px;height:28px;border:3px solid currentColor;border-radius:999px;font-size:1.16rem;font-weight:900;line-height:1}.login-link-chevron{color:#0068ff;font-size:1.65rem;font-weight:800;line-height:1}.login-security-note{display:grid;grid-template-columns:72px 1fr;gap:28px;align-items:start;width:100%;border:0;background:transparent;color:#4b5563;padding:1px 56px 0}.login-security-note>span:last-child{display:grid;gap:7px}.login-security-note strong{color:#1f2937;font-size:1.32rem;font-weight:800;line-height:1.25}.login-security-note span span{color:#4b5563;font-size:1.02rem;font-weight:600;line-height:1.45}.login-security-icon{display:inline-grid;place-items:center;width:66px;height:66px;color:#15549a}.login-security-icon svg{width:66px;height:66px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}.password-help-shell{grid-template-columns:minmax(320px,520px);align-content:start}.password-help-card{width:min(520px,100%);padding:32px}.password-help-card-body{gap:22px}.password-help-card h2{margin:0 0 10px;color:#0f172a;font-size:1.65rem;line-height:1.25}.password-help-card .auth-description{color:#334155}.password-help-card .form-field input{height:52px;border-radius:6px;font-size:1.08rem}.password-help-result{display:grid;gap:6px;border:1px solid #bbf7d0;border-radius:8px;background:#f0fdf4;color:#166534;padding:14px 16px}.password-help-result strong{font-size:1rem}.password-help-note{display:grid;gap:5px;border:1px solid #dbeafe;border-radius:8px;background:#eff6ff;color:#1e3a8a;padding:14px 16px}.password-help-note strong{font-size:1rem}.password-help-note span,.password-help-result span{line-height:1.6}.password-help-back{min-height:42px;width:100%;font-weight:700}@media(max-width:640px){.auth-shell{grid-template-columns:1fr;padding:32px 16px 28px}.auth-header h1{font-size:3rem}.auth-product-name,.auth-tenant-name{font-size:1rem}.login-card{padding:22px}.login-helper-row{grid-template-columns:1fr;gap:16px}.login-support-link:nth-child(2){justify-content:flex-start}.login-security-note{grid-template-columns:48px 1fr;gap:16px;padding:0 4px}.login-security-icon,.login-security-icon svg{width:48px;height:48px}}
