:root{--navy:#00b4ed;--navy2:#0096c8;--primary:#009dcf;--primary-soft:#e6f8ff;--teal:#14a695;--bg:#f5f7fa;--card:#fff;--text:#172b45;--muted:#7d8a9b;--line:#e8edf3;--shadow:0 9px 28px rgba(20,42,71,.045);--radius:14px}
*{box-sizing:border-box}html{height:100%;scroll-behavior:smooth}body{margin:0;color:var(--text);background:var(--bg);font-family:'DM Sans','Noto Sans KR',system-ui,sans-serif;font-size:13px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}svg{flex-shrink:0}button:disabled{opacity:.55;cursor:not-allowed}.layout{min-height:100vh;display:grid;grid-template-columns:244px minmax(0,1fr)}.sidebar{background:var(--navy);color:#d1d9e4;padding:29px 15px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:15}.brand{display:flex;align-items:center;gap:11px;padding:3px 12px 35px;color:white}.brand-icon{width:42px;height:42px;border-radius:12px;background:#fff;color:#12345c;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:800;letter-spacing:-3px;box-shadow:0 6px 16px rgba(0,0,0,.15)}.brand-icon span{color:#27bdb6;font-size:30px;transform:translateY(-5px)}.brand strong{display:block;font-size:19px;letter-spacing:1.5px;line-height:1.2}.brand small{display:block;font-size:9px;letter-spacing:1.9px;color:#94a8c3;margin-top:4px}.side-label{font-size:10px;font-weight:800;color:#6d849e;letter-spacing:1.8px;padding:0 16px 12px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{display:flex;align-items:center;gap:13px;width:100%;padding:13px 14px;border:0;background:transparent;color:#a2b3c7;text-align:left;border-radius:9px;font-weight:600;transition:background .12s,color .12s}.nav button:hover{background:#1b314b;color:white}.nav button.active{color:#fff;background:#1d4167}.nav button.active:before{content:'';width:3px;background:#52d3c1;position:absolute;left:15px;height:18px;border-radius:2px}.nav button.active{padding-left:18px}.nav button svg{opacity:.87}.nav-count{margin-left:auto;border-radius:6px;background:#263c55;color:#a9c1d9;font-size:11px;padding:2px 7px;font-variant-numeric:tabular-nums}.side-bottom{margin-top:auto}.side-team{border:1px solid #274158;background:#142b44;border-radius:13px;padding:15px;margin-bottom:16px}.avatars{display:flex;margin-bottom:12px}.avatars span{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid #142b44;margin-right:-6px;background:#3f8baf;color:white;font-size:9px;font-weight:800}.avatars span:nth-child(2){background:#ad7d6d}.avatars span:nth-child(3){background:#7d73bb}.side-team strong,.side-team small{display:block}.side-team strong{color:#d6e4ef;font-size:11px}.side-team small{color:#829bb6;font-size:10px;margin-top:5px}.side-version{text-align:center;color:#64809b;font-size:10px;line-height:1.8}.shell{min-width:0}.topbar{background:white;border-bottom:1px solid var(--line);height:76px;display:flex;justify-content:space-between;align-items:center;padding:0 38px;gap:12px}.left-head,.head-right{display:flex;align-items:center;gap:20px}.breadcrumbs{font-size:12px;color:#8090a5}.breadcrumbs b{color:#cdd6df;font-weight:500;margin:0 11px}.breadcrumbs strong{color:#2b4768;font-weight:700}.header-search{height:39px;width:268px;border:1px solid #e6ebf2;background:#f8fafc;border-radius:8px;display:flex;align-items:center;gap:9px;padding:0 12px}.header-search span{font-size:22px;line-height:1;color:#8797ab}.header-search input{border:0;outline:0;background:transparent;min-width:0;flex:1;font-size:12px;color:#20364f}.header-search kbd{color:#a7b1c0;background:#fff;border:1px solid #e5e9f1;padding:1px 6px;border-radius:4px}.user-box{display:flex;align-items:center;gap:9px;padding-left:17px;border-left:1px solid #e9edf3}.user-avatar{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e9f0ff;color:#1b5dbe;font-size:12px;font-weight:800}.user-name{font-size:11px;font-weight:800;max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-sub{font-size:10px;color:#9aa5b3}.mobile-menu{display:none}.main-inner{max-width:1520px;padding:34px 38px 65px;margin:auto}.page-title{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:27px;flex-wrap:wrap}.eyebrow{font-size:10px;letter-spacing:2px;color:#477aab;font-weight:800;margin:0 0 10px}.page-title h1{font-size:27px;line-height:1.25;letter-spacing:-1px;margin:0 0 10px;font-weight:800}.page-title p{font-size:12px;color:#8995a6;margin:0}.page-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{border-radius:8px;min-height:38px;border:1px solid #dbe4ee;padding:9px 15px;background:#fff;color:#31516f;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:800;white-space:nowrap}.btn:hover{background:#f5f9ff}.btn-primary{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 5px 13px rgba(28,103,223,.14)}.btn-primary:hover{background:#1155c5}.btn-quiet{border-color:transparent;background:transparent}.btn-danger{color:#bf4949;border-color:#f0dada}.btn-sm{min-height:32px;padding:6px 11px;font-size:11px}.icon-button{width:35px;height:35px;border-radius:8px;background:transparent;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;color:#70829b}.icon-button:hover{background:#f0f3f7}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat-card{position:relative;background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:13px;padding:21px 23px;min-height:136px}.stat-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.stat-label{font-size:12px;color:#78879a;font-weight:700}.stat-icon{width:35px;height:35px;border-radius:9px;display:grid;place-items:center;background:#edf4ff;color:#4587e6}.stat-card:nth-child(2) .stat-icon{background:#e7f6ff;color:#349cdd}.stat-card:nth-child(3) .stat-icon{background:#fff3e7;color:#e3a14c}.stat-card:nth-child(4) .stat-icon{background:#e4f8f1;color:#29ae80}.stat-value{font-size:32px;font-weight:800;color:#223e5e;line-height:1.15;letter-spacing:-1.1px}.stat-meta{color:#a1afbd;font-size:10px;margin-top:8px}.content-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(275px,.8fr);gap:18px}.stack{display:flex;flex-direction:column;gap:18px}.panel{background:var(--card);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 22px;border-bottom:1px solid #eef1f6}.panel-head h2{font-size:14px;font-weight:800;margin:0}.panel-head p{font-size:11px;color:#a3afbd;margin:5px 0 0}.panel-head a,.panel-head button.link{border:0;background:transparent;color:#236ed8;font-weight:800;font-size:11px;cursor:pointer;text-decoration:none}.panel-body{padding:20px 22px}.data-table{width:100%;border-spacing:0;border-collapse:collapse;table-layout:fixed}.data-table th{text-align:left;color:#a0acba;font-size:10px;font-weight:800;background:#fbfcfd;padding:13px 18px;letter-spacing:.2px}.data-table td{border-top:1px solid #f0f3f7;font-size:12px;color:#42576f;padding:14px 18px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.data-table th:first-child,.data-table td:first-child{padding-left:22px}.data-table tr[data-action]{cursor:pointer}.data-table tbody tr:hover{background:#f9fbfe}.primary-cell{display:block;color:#213a58;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.secondary-cell{display:block;color:#a0adba;font-size:10px;margin-top:5px}.unit-code{font-size:10px;font-weight:800;color:#3b7bd0;background:#eef5ff;border-radius:5px;padding:5px 6px;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:50px;padding:5px 9px;font-size:10px;font-weight:800;white-space:nowrap}.pill:before{content:'';height:5px;width:5px;border-radius:50%;background:currentColor}.pill.green{background:#e7f8f1;color:#15956b}.pill.orange{background:#fff3e7;color:#dd9236}.pill.red{background:#ffeceb;color:#d86a60}.pill.blue{background:#e9f2ff;color:#367ad2}.pill.gray{background:#f0f2f5;color:#8e99a8}.pill.purple{background:#f1edff;color:#7d68c3}.activity-list{padding:10px 22px 12px}.activity-item{display:flex;gap:12px;position:relative;padding:14px 0}.activity-item:not(:last-child){border-bottom:1px solid #f2f4f6}.activity-dot{width:29px;height:29px;flex:none;border-radius:50%;background:#edf4ff;color:#427bd1;display:grid;place-items:center}.activity-title{font-size:11px;font-weight:800;line-height:1.55}.activity-title em{font-style:normal;color:#2b76cf}.activity-sub{margin-top:4px;color:#9ca9b7;font-size:10px;line-height:1.6}.mini-robots{display:grid;gap:9px;padding:16px 20px}.mini-robot{display:flex;align-items:center;gap:11px;padding:9px;border:1px solid #edf1f5;border-radius:9px;background:white;cursor:pointer;text-align:left}.mini-robot:hover{border-color:#bdd2f3;background:#f9fbff}.mini-icon{border-radius:9px;background:#eaf2fd;color:#2468bd;padding:10px;display:flex}.mini-info{flex:1;min-width:0}.mini-info strong{font-size:11px;display:block}.mini-info small{font-size:10px;color:#9cacbc;margin-top:4px;display:block}.count-circle{height:24px;min-width:24px;border-radius:50px;background:#f1f5f9;color:#6d839a;display:grid;place-items:center;font-size:10px;font-weight:800}.notice{display:flex;align-items:flex-start;gap:12px;border:1px solid #d8e7f8;border-radius:11px;background:#eff6ff;padding:14px 18px;margin-bottom:24px;color:#37638e;font-size:11px;line-height:1.7}.notice strong{color:#1d507e}.notice svg{margin-top:2px}.robot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.robot-card{background:white;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);padding:22px;transition:box-shadow .15s,border-color .15s;cursor:pointer;min-height:202px}.robot-card:hover{border-color:#b3cff3;box-shadow:0 10px 30px rgba(28,103,223,.09)}.robot-top{display:flex;align-items:center;justify-content:space-between}.robot-icon{height:46px;width:46px;border-radius:12px;background:#eef5ff;color:#2075d4;display:grid;place-items:center}.robot-card h3{font-size:19px;margin:21px 0 6px;color:#233e5e}.robot-meta{font-size:11px;color:#91a0af}.robot-foot{border-top:1px solid #eef1f5;margin-top:20px;padding-top:13px;display:flex;align-items:center;justify-content:space-between;color:#8293a6;font-size:11px}.robot-foot strong{color:#2d5d95}.robot-add{border:1.5px dashed #bfd2e8;background:#f9fbff;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:202px;gap:10px;color:#3979c9}.robot-add:hover{background:#edf5ff}.robot-add .plus{width:44px;height:44px;display:grid;place-items:center;border:1px dashed #9ac3f4;border-radius:50%;font-size:27px;font-weight:400}.robot-add strong{font-size:13px}.robot-add span{font-size:10px;color:#8ba1b6}.filter-bar{display:flex;gap:10px;padding:17px 19px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:16px;align-items:center;flex-wrap:wrap}.filter-bar select,.filter-bar input{height:36px;border:1px solid #e2e9f0;border-radius:7px;background:#fff;padding:0 12px;min-width:130px;color:#506681;outline:0}.filter-label{font-size:11px;color:#94a1b0;font-weight:700}.filter-reset{margin-left:auto;color:#2c72ca;border:0;background:transparent;font-size:11px;font-weight:800}.table-scroll{overflow-x:auto}.issues-table{min-width:830px}.issues-table th:nth-child(1){width:95px}.issues-table th:nth-child(2){width:auto}.issues-table th:nth-child(3){width:93px}.issues-table th:nth-child(4){width:95px}.issues-table th:nth-child(5){width:108px}.issues-table th:nth-child(6){width:114px}.issues-table th:nth-child(7){width:112px}.issues-table th:nth-child(8){width:110px}.empty{padding:55px 22px;text-align:center;color:#9cabb9}.empty-icon{height:52px;width:52px;border-radius:15px;display:grid;place-items:center;margin:0 auto 15px;background:#f3f7fc;color:#81a5d2}.empty strong{display:block;color:#49607a;font-size:13px;margin-bottom:7px}.empty p{margin:0 0 18px;line-height:1.8;font-size:11px}.back-link{border:0;background:transparent;color:#567491;display:flex;align-items:center;gap:6px;padding:0;font-weight:700;font-size:11px;margin-bottom:13px}.robot-detail-top{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px;margin-bottom:21px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.robot-detail-brand{display:flex;align-items:center;gap:16px}.robot-detail-brand h2{margin:0 0 7px;font-size:22px}.robot-detail-brand p{margin:0;color:#95a3b2;font-size:11px}.summary-tiles{display:flex;gap:20px;flex-wrap:wrap}.summary-tiles div{padding-left:20px;border-left:1px solid #e9edf1}.summary-tiles strong{display:block;font-size:19px}.summary-tiles span{font-size:10px;color:#93a4b5}.file-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:20px}.file-card{border:1px solid #e9edf3;border-radius:10px;padding:14px;display:flex;gap:12px;align-items:center;min-width:0}.file-icon{height:39px;width:39px;border-radius:8px;background:#eaf4ff;color:#2672ce;display:grid;place-items:center}.file-data{min-width:0;flex:1}.file-data strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.file-data small{display:block;color:#96a4b3;font-size:10px;margin-top:5px}.file-download{background:#f4f8fd;border:0;border-radius:7px;padding:8px;color:#357bd4}.file-download:hover{background:#e7f1ff}.modal-cover,.drawer-cover{position:fixed;inset:0;background:rgba(9,25,44,.48);z-index:40;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(1.5px)}.modal{max-width:680px;width:100%;max-height:min(94vh,940px);background:white;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.19);overflow:hidden;display:flex;flex-direction:column}.modal-head{padding:23px 26px;display:flex;justify-content:space-between;align-items:flex-start;gap:15px;border-bottom:1px solid #eef1f5}.modal-head h2{margin:0;font-size:19px}.modal-head p{margin:8px 0 0;color:#91a0af;font-size:11px}.modal-body{padding:24px 26px;overflow:auto}.modal-foot{padding:17px 26px;display:flex;align-items:center;justify-content:flex-end;gap:8px;border-top:1px solid #eef1f5}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{min-width:0;margin-bottom:16px}.field>label{display:block;font-size:11px;font-weight:800;color:#3f5672;margin-bottom:8px}.field label small{font-weight:500;color:#b1bdc8}.field input,.field select,.field textarea{width:100%;border:1px solid #dde6ef;border-radius:8px;padding:11px 12px;outline:none;background:white;color:#243d59;font-size:12px;transition:border-color .12s;resize:vertical}.field textarea{min-height:84px;line-height:1.7}.field input:focus,.field select:focus,.field textarea:focus{border-color:#5797ec;box-shadow:0 0 0 3px #e8f2ff}.field .help{font-size:10px;color:#9aa8b8;margin:7px 0 0}.upload-zone{display:block;padding:18px;text-align:center;border:1.5px dashed #b9d1ef;border-radius:10px;background:#f8fbff;color:#3375c1;cursor:pointer;font-weight:800;font-size:11px}.upload-zone input{width:100%;margin-top:10px;font-size:11px}.upload-zone span{display:block;color:#9badc0;font-weight:500;margin-top:6px}.drawer-cover{justify-content:flex-end;padding:0}.drawer{width:min(690px,100%);height:100%;background:white;box-shadow:-12px 0 40px rgba(0,0,0,.16);display:flex;flex-direction:column}.drawer-head{padding:26px 30px 20px;border-bottom:1px solid #e9edf3}.drawer-headline{display:flex;justify-content:space-between;align-items:center;gap:10px}.drawer-head h2{font-size:21px;line-height:1.35;margin:13px 0}.drawer-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:11px;color:#92a1b0}.drawer-content{overflow:auto;padding:23px 30px 40px;flex:1}.drawer-section{margin-bottom:25px}.drawer-section h3{font-size:12px;display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;color:#304d6f}.info-box{border:1px solid #e9eef5;background:#fafbfd;padding:15px 17px;border-radius:9px;color:#50647c;white-space:pre-wrap;line-height:1.85;font-size:12px;overflow-wrap:anywhere;min-height:53px}.details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:26px}.details-grid div{border:1px solid #edf1f5;border-radius:9px;padding:13px}.details-grid span{display:block;font-size:10px;color:#9caab9;margin-bottom:7px}.details-grid strong{font-size:11px;font-weight:800;word-break:break-word}.timeline{padding-left:13px;border-left:1px solid #dfe8f2;margin-left:6px}.timeline-item{padding-left:17px;position:relative;margin-bottom:20px}.timeline-item:before{content:'';position:absolute;left:-19px;top:4px;width:9px;height:9px;background:#3f8bdc;border:3px solid #eaf4ff;border-radius:50%}.timeline-item strong{display:block;font-size:11px}.timeline-item span{display:block;margin-top:5px;color:#acb6c4;font-size:10px}.timeline-item p{color:#58708a;line-height:1.75;font-size:11px;white-space:pre-wrap;margin:7px 0}.timeline-item small{color:#3877bc;font-size:10px;font-weight:800}.drawer-footer{display:flex;justify-content:space-between;padding:17px 30px;gap:8px;border-top:1px solid #e9edf3;background:#fff}.drawer-files{display:grid;gap:8px}.drawer-files .file-card{padding:10px}.comment-box{display:flex;flex-direction:column;gap:9px}.comment-box textarea{width:100%;padding:12px;border:1px solid #e0e7ef;border-radius:9px;min-height:75px;resize:vertical;outline:0;font-size:12px;line-height:1.7}.comment-box button{align-self:flex-end}.auth-page{position:fixed;inset:0;z-index:100;background:linear-gradient(110deg,#0d2038 0%,#152e4d 55%,#244b74 100%);display:grid;place-items:center;padding:24px}.auth-panel{width:min(430px,100%);background:#fff;padding:35px;border-radius:17px;box-shadow:0 30px 90px #0004}.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:27px}.auth-panel h1{font-size:24px;margin:0 0 10px}.auth-panel>p{color:#90a0b0;font-size:12px;line-height:1.7;margin:0 0 28px}.auth-error{color:#ba4343;background:#fff0f0;border-radius:7px;padding:10px;line-height:1.6;font-size:11px;margin-bottom:12px}.toast-root{position:fixed}.toast{position:fixed;right:24px;bottom:24px;max-width:370px;z-index:120;color:#fff;background:#193958;border-radius:10px;padding:13px 18px;box-shadow:0 10px 26px #15263c33;font-size:12px;line-height:1.6}.toast.error{background:#b34040}.toast.success{background:#15785c}.site-footer{margin-top:28px;font-size:10px;color:#aeb9c3;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.data-note{font-size:10px;color:#97a5b4;margin:12px 0 0}.tag{border-radius:5px;padding:4px 7px;background:#edf3fa;color:#527394;font-weight:800;font-size:10px}.divider{height:1px;background:#ebeff3;margin:19px 0}.text-link{background:transparent;border:0;padding:0;color:#1e70d9;font-weight:800;font-size:11px}.subtle{color:#98a8b6}.robot-detail-description{color:#77899c;font-size:11px;line-height:1.8;padding:0 0 16px}.load-screen{min-height:65vh;display:grid;place-items:center;color:#91a2b4}.spinner{width:28px;height:28px;border:3px solid #e2ecf8;border-top-color:#1767e7;border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 14px}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1260px){.robot-grid{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1.3fr 1fr}.main-inner{padding:30px 25px}.topbar{padding:0 25px}.stats-grid{gap:11px}.stat-card{padding:18px}}
@media(max-width:960px){.layout{grid-template-columns:70px minmax(0,1fr)}.sidebar{padding-left:9px;padding-right:9px}.brand{justify-content:center;padding:6px 0 28px}.brand small,.side-label,.nav button .nav-text,.nav-count,.side-bottom{display:none}.nav button{justify-content:center;padding:13px 5px}.nav button.active{padding-left:5px}.nav button.active:before{left:9px}.content-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}.header-search{width:230px}}
@media(max-width:650px){.layout{display:block}.sidebar{position:fixed;width:250px;left:-260px;transition:left .2s;box-shadow:15px 0 30px #0002}.sidebar.open{left:0}.sidebar .brand{justify-content:flex-start;padding:3px 12px 30px}.sidebar .brand small,.sidebar .side-label,.sidebar .nav button .nav-text,.sidebar .nav-count,.sidebar .side-bottom{display:block}.sidebar .nav button{justify-content:flex-start;padding:13px 14px}.sidebar .nav button.active{padding-left:18px}.topbar{height:62px;padding:0 15px}.mobile-menu{display:flex}.header-search{width:160px;height:35px}.header-search kbd,.breadcrumbs,.user-name,.user-sub{display:none}.user-box{padding-left:0;border:0}.left-head,.head-right{gap:8px}.main-inner{padding:25px 15px 40px}.page-title h1{font-size:23px}.stats-grid{gap:9px}.stat-card{min-height:124px;padding:16px}.stat-value{font-size:27px}.stat-label{font-size:11px}.robot-grid{grid-template-columns:1fr}.file-list{grid-template-columns:1fr}.filter-bar select{min-width:calc(50% - 10px);flex:1}.filter-label{width:100%}.field-grid,.details-grid{grid-template-columns:1fr}.modal-cover{padding:7px}.modal{max-height:97vh}.modal-head,.modal-body,.modal-foot{padding-left:18px;padding-right:18px}.drawer-content,.drawer-head,.drawer-footer{padding-left:18px;padding-right:18px}.drawer-footer{flex-wrap:wrap}.auth-panel{padding:24px}.summary-tiles{width:100%;justify-content:space-around}.summary-tiles div{padding-left:12px}.stat-icon{height:29px;width:29px}}

/* Noninteractive notifications must never block primary actions */
.toast{pointer-events:none}

/* Editing from an issue drawer: the edit modal must overlay the drawer */
.modal-cover{z-index:85}

/* v1.2 · issue-level attachments on each robot's inspection history */
.issues-table{min-width:1160px}
.issues-table th:nth-child(9){width:210px}
.data-table td.attachment-cell{white-space:normal;overflow:visible;text-overflow:clip;padding-top:9px;padding-bottom:9px}
.issue-attachment-cell{display:flex;flex-direction:column;gap:7px;align-items:flex-start;min-width:0}
.issue-attachment-links{display:flex;flex-direction:column;gap:4px;width:100%;min-width:0}
.inline-file-link,.attachment-more{border:0;background:transparent;padding:2px 0;color:#1a66b5;display:flex;gap:4px;align-items:center;text-align:left;width:100%;min-width:0;font-size:11px;cursor:pointer}
.inline-file-link span{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:148px}
.inline-file-link:hover span,.file-name-download:hover{text-decoration:underline}
.attachment-more{font-size:10px;color:#56809e;font-weight:700}
.attach-inline-picker{border:1px solid #bbd6fa;border-radius:7px;background:#edf5ff;color:#286cc1;display:inline-flex;align-items:center;gap:4px;padding:5px 9px;cursor:pointer;font-weight:800;font-size:10px;white-space:nowrap;max-width:100%}
.attach-inline-picker:hover{background:#dcecff;border-color:#7daee5}
.attachment-file-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;opacity:0!important;overflow:hidden!important;clip-path:inset(50%)}
.no-file{font-size:10px;color:#9aabba}
.file-name-download{background:none;border:0;padding:0;text-align:left;font-weight:800;font-size:11px;color:#256dbd;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;cursor:pointer}
.details-grid div.details-attachment-card{grid-column:1/-1;background:#f7fbff;border:1px solid #dfeafa;padding:13px}
.attachment-summary-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;flex-wrap:wrap}
.details-grid .attachment-summary-head span{margin:0;color:#365878;font-weight:800;font-size:12px}
.details-attachment-card .drawer-files{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px}
.details-attachment-card .drawer-files .file-card{background:white;min-width:0;padding:8px}
.details-attachment-card .drawer-files .file-icon{width:30px;height:30px;flex-shrink:0}
.details-grid .preview-file-note{margin:9px 0 0;color:#9b6d36;font-size:10px;line-height:1.5}
@media(max-width:650px){.issues-table{min-width:1180px}.details-attachment-card .drawer-files{grid-template-columns:1fr}}
/* Always keep the upload/download column visible even on narrower screens. */
.issues-table th:last-child,.issues-table td.attachment-cell{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-7px 0 17px -14px rgba(18,55,99,.45)}
.issues-table th:last-child{z-index:3;background:#f5f9fd}
.issues-table tr:hover td.attachment-cell{background:#f5faff}
/* On a single robot page the robot-number column is redundant. Show site and attachments together. */
.robot-issue-panel .issues-table{min-width:890px}
.robot-issue-panel .issues-table th:nth-child(3),.robot-issue-panel .issues-table td:nth-child(3){display:none}
.robot-issue-panel .issues-table th:nth-child(1){width:88px}
.robot-issue-panel .issues-table th:nth-child(4){width:78px}
.robot-issue-panel .issues-table th:nth-child(5){width:85px}
.robot-issue-panel .issues-table th:nth-child(6){width:123px}
.robot-issue-panel .issues-table th:nth-child(7){width:96px}
.robot-issue-panel .issues-table th:nth-child(8){width:83px}
.robot-issue-panel .issues-table th:nth-child(9){width:212px}
.robot-issue-panel .issues-table th,.robot-issue-panel .issues-table td{padding-left:11px;padding-right:11px}
.robot-issue-panel .issues-table th:first-child,.robot-issue-panel .issues-table td:first-child{padding-left:18px}

/* RIMS identity. Company screenshot RGB(0,180,237) */
.sidebar {background:#00B4ED;color:#fff}
.brand {color:#fff;gap:10px}
.brand strong {font-size:24px;letter-spacing:1.35px;line-height:1}
.brand small {font-size:8px;font-weight:750;letter-spacing:.78px;color:#e3faff;margin-top:7px;white-space:nowrap}
.side-label {color:#e1f8ff;opacity:.85}
.nav button {color:#e9fbff}
.nav button:hover {background:rgba(0,75,113,.16);color:#fff}
.nav button.active {background:#fff;color:#007da9;box-shadow:0 4px 14px rgba(0,90,125,.12)}
.nav button.active:before {background:#007ea9}
.nav-count {background:#d7f6ff;color:#007da9}
.side-team {background:rgba(0,84,121,.16);border:1px solid rgba(255,255,255,.32)}
.side-team strong {color:#fff}
.side-team small {color:#e1f8ff}
.avatars span {border-color:#00B4ED}
.side-version {color:#f0fcff}
#sidebar-auth .btn {background:rgba(0,77,110,.22)!important;border-color:rgba(255,255,255,.45)!important;color:white!important}
.eyebrow {color:#008ebd}
.auth-page {background:radial-gradient(circle at 84% 14%,#b6ecff 0%,#00b4ed 33%,#008abf 100%)}
.auth-panel {max-width:440px;box-shadow:0 28px 85px rgba(0,58,86,.25)}
.auth-brand strong {color:#07516e}
.auth-brand small {font-weight:800;letter-spacing:.7px;color:#668b9c!important}
.auth-panel .btn-primary {min-height:44px;background:#0096cb;border-color:#0096cb}
.auth-panel .btn-primary:hover {background:#007daf}
.auth-security-notice {background:#f0fbff;border:1px solid #cdeef9;padding:12px 14px;border-radius:10px;color:#326779;font-size:11px;line-height:1.75;margin-top:16px}
.auth-demo-notice {color:#8b551b;background:#fff7e8;border:1px solid #f3dcbc;padding:11px 13px;border-radius:9px;line-height:1.65;font-size:11px;margin:12px 0}
.auth-panel .auth-setup {color:#805822;background:#fffbf1;border:1px solid #f2ddb8;border-radius:9px;padding:12px;line-height:1.75;font-size:12px}
.auth-panel .auth-setup code {background:#fff1d6;padding:2px 4px;border-radius:3px}
.auth-help {color:#8397a3;font-size:11px;line-height:1.8;margin-top:18px}
@media(max-width:960px) and (min-width:651px){.sidebar .brand strong{font-size:13px;letter-spacing:0}.sidebar .brand small{display:none}}

/* Full department names in the cross-team sidebar */
.side-team small{line-height:1.55;overflow-wrap:normal}

/* Allow the complete team name to remain visible in issue rows. */
.issues-table{min-width:1300px}
.issues-table th:nth-child(6){width:172px}
.issues-table td.team-cell{font-size:11px}
.robot-issue-panel .issues-table{min-width:1080px}
.robot-issue-panel .issues-table th:nth-child(6){width:170px}
@media(max-width:650px){.issues-table{min-width:1300px}}

/* RIMS v1.3: 새 검사 이슈 등록 팝업 사용성 개선
   - 창 내부에서 항목을 스크롤하고 제목/등록 버튼은 고정
   - 현상 / 상세 이슈 및 조치 결과 입력 영역 확대
   - 로봇 등록 등 다른 팝업은 기존 디자인을 유지 */
.modal:has(> #issue-form){
  max-width:760px;
  max-height:calc(100dvh - 24px);
}
#issue-form{
  display:flex;
  flex-direction:column;
  height:min(92dvh,900px);
  min-height:0;
  overflow:hidden;
}
#issue-form .modal-head,
#issue-form .modal-foot{
  flex:0 0 auto;
  background:#fff;
}
#issue-form .modal-body{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  scrollbar-color:#afc5d7 #f1f5f9;
}
#issue-form .modal-foot{
  position:relative;
  z-index:1;
  box-shadow:0 -5px 16px rgba(20,42,71,.07);
}
#issue-form textarea[name="description"]{
  min-height:180px;
  resize:vertical;
}
#issue-form textarea[name="corrective_action"]{
  min-height:120px;
  resize:vertical;
}
@media(max-width:650px){
  .modal:has(> #issue-form){max-height:calc(100dvh - 12px)}
  #issue-form{height:calc(100dvh - 18px)}
  #issue-form .modal-head{padding-top:18px;padding-bottom:16px}
  #issue-form .modal-foot{padding-top:12px;padding-bottom:12px}
}

/* RIMS v1.2 · Administrator-only robot deletion confirmation */
.delete-robot-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}
.delete-robot-summary>div{padding:14px 12px;border:1px solid #dde6ef;border-radius:9px;background:#f8fafc;min-width:0}
.delete-robot-summary span{display:block;font-size:11px;color:#7c8b9d;margin-bottom:8px}
.delete-robot-summary strong{display:block;font-size:14px;color:#273e59;overflow-wrap:anywhere}
.delete-robot-summary .delete-robot-count-warning{color:#b44939}
.delete-robot-notice{display:flex;align-items:flex-start;gap:12px;border:1px solid #f3d4cb;background:#fff8f5;border-radius:9px;padding:15px;margin-bottom:18px;color:#99513c}
.delete-robot-notice.blocked{background:#fff2ef;border-color:#eabeb4;color:#a23d32}
.delete-robot-notice strong{font-size:12px}
.delete-robot-notice p{margin:5px 0 0;font-size:11px;line-height:1.7}
.btn.btn-delete-robot{background:#bf4545;border-color:#bf4545;color:white}
.btn.btn-delete-robot:disabled{background:#cf9b9b;border-color:#cf9b9b;color:white;cursor:not-allowed}
@media(max-width:650px){.delete-robot-summary{grid-template-columns:1fr}}

/* RIMS v1.3: safe robot archiving, reversible without deleting issues or files. */
.archived-robot-card{border-color:#d9e5f0;background:linear-gradient(180deg,#fff,#f7fbff)}
.archived-robot-card .robot-icon{color:#587b9c;background:#edf3f9}
.archive-help{display:flex;align-items:flex-start;gap:12px;background:#eaf7ff;border:1px solid #c6e7f5;border-radius:11px;color:#386480;padding:14px 17px;margin:0 0 22px;line-height:1.8;font-size:12px}
.archive-help svg{flex:0 0 auto;margin-top:2px}
.archive-notice{background:#f0f7fc;border-color:#d3e2ee}
.archive-safety{display:flex;gap:12px;align-items:flex-start;border:1px solid #badfe8;background:#f1fafb;border-radius:10px;padding:14px;color:#3f6680;margin:0 0 20px;line-height:1.7}
.archive-safety svg{flex:0 0 auto;margin-top:2px}
.archive-safety strong{font-size:12px}
.archive-safety p{font-size:11px;margin:4px 0 0}
.archived-readonly{display:inline-flex;align-items:center;gap:5px;border-radius:6px;background:#eef1f5;color:#637b94;font-size:10px;font-weight:800;padding:6px 10px}
@media(max-width:650px){.archive-help{padding:12px}.archive-safety{padding:12px}}
