[hidden]{display:none!important}.auth{padding:40px 5px}.auth h1{font-size:32px}.auth .logo{margin-bottom:30px;width:56px;height:56px;font-size:30px}.auth #google-button{margin:24px 0}.message{border:1px solid #dfe6d8;background:white;border-radius:13px;padding:18px;line-height:1.6}.error{color:#913d31;background:#fff3ef;border-color:#f0d8ce}.loading{padding:28px;color:#718477;text-align:center}.badge.online{background:#deeed1}.actions{display:flex;gap:8px;margin:16px 0;flex-wrap:wrap}.actions button{background:#e7eedf;border-radius:8px;padding:0 12px;font-size:12px}.form label{display:block;font-size:12px;margin:16px 0}.form input{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #ced9c6;border-radius:8px}.form select{width:100%;min-height:44px;border:1px solid #ced9c6;border-radius:8px;margin:12px 0}.card h3{overflow-wrap:anywhere}.detail-value{white-space:pre-wrap}.breadcrumb{display:flex;align-items:center;gap:2px;overflow-x:auto;white-space:nowrap;margin:10px 0;padding:8px 10px;background:#f2f6ef;border:1px solid #dce5d6;border-radius:8px;font-size:13px;-webkit-overflow-scrolling:touch}.breadcrumb::-webkit-scrollbar{display:none}.crumb-btn{background:transparent;border:none;padding:2px 4px;font-size:13px;color:#235445;font-weight:500;cursor:pointer;border-radius:4px;flex-shrink:0}.crumb-btn.active{color:#142823;font-weight:700}.crumb-sep{color:#84968a;font-weight:700;padding:0 3px;user-select:none;flex-shrink:0}.drive-toolbar{display:flex;align-items:center;gap:8px;margin:8px 0 12px 0}.sort-grp{display:inline-flex;border:1px solid #ced9c6;border-radius:8px;overflow:hidden;background:#fff;flex-shrink:0}.sort-btn{border:none;padding:8px 13px;font-size:12px;font-weight:700;cursor:pointer;background:transparent;color:#3c5b52;transition:background .15s,color .15s}.sort-btn.active{background:#182b29;color:#fff}.sort-btn:not(:first-child){border-left:1px solid #ced9c6}.file-card{display:flex;gap:12px;align-items:center}.file-card b{font-size:23px}.file-card h3{margin:0}dialog{touch-action:pan-y;will-change:transform}dialog::backdrop{background:rgba(24,43,41,0.52);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);cursor:pointer}#viewer{inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;padding:0;border:0;border-radius:0;margin:0;background:#f2f5ef}#viewer header{position:sticky;top:0;padding:8px 12px;gap:10px;justify-content:flex-start;z-index:2}#viewer header strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#viewer-controls{position:sticky;top:60px;background:white;display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:6px 12px;z-index:1}#viewer-controls button{border:1px solid #dce5d3;border-radius:7px;padding:0 10px;font-size:12px}#viewer-controls select{max-width:50%;min-height:44px}#viewer-body{padding:12px;overflow:auto}#viewer-body canvas{display:block;margin:auto;max-width:none}#viewer-body img{max-width:100%}#viewer-body pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}#viewer-body iframe{width:100%;height:75dvh;border:0}.workbook{height:70dvh;overflow:auto;background:white}.workbook table{font-size:12px;min-width:100%}.workbook td{min-width:100px;max-width:300px;white-space:pre-wrap;overflow-wrap:anywhere}.workbook td:first-child{position:sticky;left:0;background:#eef3e8;min-width:40px}.workbook tr:first-child td{position:sticky;top:0;background:#e5eedc;z-index:1}.workbook tr:first-child td:first-child{z-index:2}.mono{font-family:monospace;overflow-wrap:anywhere}.sheet-note{font-size:11px;color:#728069}.projectbar select{max-width:75%}#main{min-height:65dvh}button:disabled{opacity:.45;cursor:default}
.page-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.page-title h1{margin:4px 0}.form textarea{display:block;width:100%;min-height:96px;margin-top:8px;padding:12px;border:1px solid #ced9c6;border-radius:8px;resize:vertical}.todo-card.done{opacity:.68}.todo-card.done h3{text-decoration:line-through}.priority-high{background:#fbe5df;color:#9a4032}.priority-low{background:#e7f0ee;color:#426d60}.danger{background:#fff0ee!important;color:#a34336!important;border:1px solid #f1c5be!important}
.record-link,.folder-link{background:none;padding:0;border:0;text-align:left;font-weight:750;line-height:1.45}.record-link{color:#c66a19;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.folder-link{color:#3c6959;overflow-wrap:anywhere}
.auth-divider{display:flex;align-items:center;gap:10px;margin:24px 0 4px;color:#738176;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#dce5d6;flex:1}.auth-system{padding:2px 0 8px}.auth-system label{margin:12px 0}.auth-system .primary{width:100%;margin-top:4px}.text-button{background:transparent;color:#315a4c;padding:8px 0;font-size:12px;text-decoration:underline}.admin-panel{margin:14px 0;padding:14px;border:1px solid #d8e4d2;border-radius:12px;background:#f4f8ef}.admin-panel b{display:block;color:#214739}.admin-panel p{margin:6px 0 10px;font-size:12px;line-height:1.5;color:#627268}.admin-panel .card{margin:0}
.source-note{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border:1px solid #d8e4d2;border-radius:9px;background:#f4f8ef;color:#486555;font-size:11px;white-space:normal}.source-note a{color:#a95b17;font-weight:750;white-space:nowrap}
.password-field{position:relative}.password-field input{padding-right:42px}.password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:0;border-radius:7px;background:transparent;color:#315a4c;cursor:pointer;font-size:15px}
.rbac-role{display:block;font-size:12px;margin:12px 0}.rbac-role select,.rbac-row select,.rbac-group summary select{float:right;min-height:34px;border:1px solid #cad8c2;border-radius:7px;background:white;padding:0 7px;font-size:12px}.rbac-groups{margin:14px 0}.rbac-group{border:1px solid #dbe5d5;border-radius:10px;margin:9px 0;overflow:hidden}.rbac-group summary{padding:12px;font-weight:750;cursor:pointer;min-height:52px}.rbac-group summary::marker{color:#547061}.rbac-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-top:1px solid #e7eee2;font-size:12px;line-height:1.35}.rbac-row span{flex:1}.rbac-row select{float:none;flex:0 0 76px}
.drive-box{background:#f1f6ed;border:1px solid #d4e3cb;border-radius:13px;padding:14px;margin:14px 0}.drive-header{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.drive-title{display:flex;align-items:center;gap:10px}.drive-icon{font-size:24px}.drive-title strong{display:block;font-size:13px;color:#1d382f}.drive-status{display:block;font-size:11px;color:#5a6e60}.drive-btns{display:flex;gap:6px;align-items:center}.drive-btns button{border:1px solid #cbd8c2;border-radius:8px;padding:6px 12px;font-size:11px}.drive-sync-row{margin-top:12px;display:flex;flex-direction:column;gap:6px}.drive-sync-row button{font-size:12px;font-weight:600;padding:10px 14px;border-radius:9px}.link-card{display:block;text-align:left;width:100%;padding:14px;margin:9px 0;background:white;border:1px solid #e1e7dc;border-radius:12px}.link-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.link-card-title{display:flex;align-items:flex-start;gap:8px;font-weight:650;font-size:13px;color:#1d3a30}.link-card-title span.ico{font-size:18px;line-height:1.2}.link-url{font-family:monospace;font-size:11px;color:#6d7f75;margin:6px 0;word-break:break-all;line-height:1.4}.link-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;padding-top:8px;border-top:1px dashed #e8eee4;font-size:11px}.link-actions{display:flex;gap:6px}.link-actions button{border:1px solid #d8e2d2;border-radius:6px;padding:4px 8px;font-size:11px;min-height:30px}
.project-btn{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,0.09);border:1px solid rgba(255,255,255,0.18);border-radius:8px;color:#f0f4e6;font-size:13px;font-weight:600;padding:5px 11px;max-width:76%;min-height:34px;cursor:pointer;text-align:left;transition:background .15s,border-color .15s}
.project-btn:hover,.project-btn:active{background:rgba(255,255,255,0.16);border-color:rgba(255,255,255,0.32)}
#project-display{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}
.project-chevron{font-size:10px;opacity:.75;flex-shrink:0;margin-left:2px}
.project-modal{position:fixed;top:auto;bottom:0;margin:0 auto;padding:16px 18px 24px;width:min(100%,480px);max-height:84dvh;border:0;border-radius:20px 20px 0 0;background:#f6f8f5;color:#203733;overflow-y:auto}
.project-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.project-modal-title{display:flex;align-items:center;gap:10px}
.project-modal-ico{font-size:24px}
.project-modal-title h3{margin:0;font-size:16px;font-weight:700;color:#182b29}
.project-modal-title small{color:#6d7f75;font-size:11px}
.project-search-box{display:flex;align-items:center;gap:8px;background:white;border:1px solid #ced9c6;border-radius:10px;padding:0 12px;margin:10px 0 12px 0;position:sticky;top:0;z-index:2;box-shadow:0 2px 6px rgba(0,0,0,0.04)}
.project-search-ico{font-size:16px;color:#64756c}
#project-search-input{flex:1;background:transparent;border:0;outline:0;min-height:44px;font-size:14px;color:#182b29}
.project-search-clear{border:none;background:#e8eee5;color:#55695f;border-radius:50%;width:22px;height:22px;min-height:22px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;padding:0;cursor:pointer}
.project-suggestions-list{display:flex;flex-direction:column;gap:7px;max-height:52dvh;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:16px}
.project-item{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;padding:12px 14px;background:white;border:1px solid #e1e7dc;border-radius:10px;cursor:pointer;transition:background .12s,border-color .12s}
.project-item:hover,.project-item:active{background:#eef5eb;border-color:#bcd4b7}
.project-item.active{background:#e8f2e3;border-color:#7fa877;font-weight:600}
.project-item-info{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.project-item-icon{font-size:18px;flex-shrink:0}
.project-item-name{font-size:14px;color:#1c332c;word-break:break-word}
.project-item.active .project-item-name{color:#142823;font-weight:700}
.project-item-check{color:#276749;font-weight:800;font-size:15px;flex-shrink:0}
.project-match-highlight{background:#fff3a8;color:#8c5700;border-radius:2px;padding:0 2px}
.view-switch-btn{margin-left:auto;font-size:10px;font-weight:700;letter-spacing:.3px;color:#dcecaa;background:rgba(255,255,255,0.08);border:1px solid rgba(220,236,170,0.38);border-radius:6px;padding:4px 8px;text-decoration:none;display:inline-flex;align-items:center;gap:3px;flex-shrink:0;cursor:pointer;transition:background .15s,border-color .15s}
.view-switch-btn:hover,.view-switch-btn:active{background:rgba(220,236,170,0.22);border-color:#dcecaa;color:#fff}
.view-switch-btn .cur-view{color:#9cb3a8;font-size:9px;font-weight:500}
.view-switch-btn .arrow{color:#dcecaa;font-size:10px}
.view-switch-btn .target-view{color:#f0f8e2;font-weight:800}


