*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7f7f7;color:#323a45;font:16px/1.45 Arial,Helvetica,sans-serif}a{color:#205493}button,input,select,textarea{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}.site-header{background:#fff;border-top:5px solid #112e51;border-bottom:1px solid #7b7b7b}.header-inner{max-width:1500px;margin:0 auto;padding:20px 24px 18px;display:flex;justify-content:space-between;gap:24px;align-items:flex-end}.header-title{margin:0;color:#112e51;font:700 32px/1.05 Georgia,"Times New Roman",serif}.header-motto{color:#112e51;font:700 16px Georgia,"Times New Roman",serif;white-space:nowrap}.page{max-width:1500px;margin:0 auto;padding:24px}.meta-bar{background:#e6e6e6;border:1px solid #c9c9c9;border-bottom:0;padding:10px 12px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:#5b616b;font-size:13px}.meta-left,.meta-right{display:flex;gap:18px;flex-wrap:wrap;align-items:center}.meta-label{color:#112e51;font-weight:bold}.live-dot{display:inline-block;width:8px;height:8px;margin-right:6px;background:#2e8540;vertical-align:1px}.controls{display:grid;grid-template-columns:minmax(280px,1fr) 240px auto;gap:10px;padding:12px;background:#fff;border:1px solid #c9c9c9;border-bottom:0}input[type=text],input[type=password],select,textarea{width:100%;border:1px solid #7b7b7b;background:#fff;color:#323a45;padding:9px 10px;border-radius:0}input[type=text],input[type=password],select{min-height:40px}textarea{min-height:88px;resize:vertical}.btn{min-height:40px;padding:8px 14px;border:1px solid #112e51;border-radius:0;background:#112e51;color:#fff;font-weight:bold;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.btn:hover{background:#0b2038}.btn-secondary{background:#fff;color:#112e51}.btn-secondary:hover{background:#f0f0f0}.btn-danger{background:#fff;color:#981b1e;border-color:#981b1e}.btn-danger:hover{background:#f9dede}.table-wrap{overflow:auto;border:1px solid #c9c9c9;background:#fff}table{width:100%;border-collapse:collapse;min-width:1050px}thead th{background:#112e51;color:#fff;text-align:left;padding:11px 12px;border-right:1px solid #365a80;font-size:13px;letter-spacing:.03em;text-transform:uppercase}thead th:last-child{border-right:0}tbody td{padding:12px;border-bottom:1px solid #ddd;border-right:1px solid #e4e4e4;vertical-align:top}tbody td:last-child{border-right:0}tbody tr:nth-child(even){background:#f8f8f8}tbody tr:hover{background:#edf3f9}.col-date{width:125px;white-space:nowrap}.col-company{width:240px;font-weight:bold;color:#112e51}.col-title{width:340px}.col-status{width:190px}.col-notes{min-width:360px;color:#5b616b}.status{display:inline-block;padding:3px 7px;border:1px solid #7b7b7b;font-size:12px;font-weight:bold;line-height:1.25;text-transform:uppercase}.status[data-tone=applied]{background:#dce8f5;color:#112e51;border-color:#8ba7c7}.status[data-tone=interview]{background:#ebe5f7;color:#4c2c92;border-color:#a796cf}.status[data-tone=review]{background:#d9eef7;color:#046b99;border-color:#8ec8df}.status[data-tone=pipeline]{background:#fff1d2;color:#7a4d00;border-color:#d6a533}.status[data-tone=closed]{background:#f9dede;color:#981b1e;border-color:#c88486}.status[data-tone=neutral]{background:#eee;color:#444;border-color:#aaa}.empty-state{padding:32px;text-align:center;color:#5b616b}.site-footer{margin-top:26px;border-top:4px solid #112e51;background:#fff}.footer-inner{max-width:1500px;margin:0 auto;padding:16px 24px 22px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:#5b616b;font-size:13px}.footer-motto{color:#112e51;font:700 14px Georgia,"Times New Roman",serif}.admin-title{margin:0 0 6px;color:#112e51;font:700 30px Georgia,"Times New Roman",serif}.admin-subtitle{margin:0 0 18px;color:#5b616b}.flash{padding:10px 12px;margin-bottom:14px;border:1px solid #c9c9c9;border-left-width:6px;background:#fff;font-weight:bold}.flash.ok{border-left-color:#2e8540;color:#245b2e}.flash.err{border-left-color:#981b1e;color:#981b1e}.admin-panel{background:#fff;border:1px solid #7b7b7b;margin-bottom:18px}.admin-panel-head{padding:10px 12px;background:#112e51;color:#fff;display:flex;justify-content:space-between;gap:12px;align-items:center}.admin-panel-head h2{margin:0;font-size:16px}.admin-panel-body{padding:14px}.form-grid{display:grid;grid-template-columns:170px minmax(220px,1fr) minmax(280px,1.3fr) 220px;gap:10px}.form-field{display:grid;gap:5px}.form-field.full{grid-column:1/-1}label{color:#112e51;font-size:12px;font-weight:bold;text-transform:uppercase;letter-spacing:.03em}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.login-panel{max-width:560px;margin:40px auto}.record-tools{display:grid;grid-template-columns:1fr auto;gap:10px;padding:10px 12px;border-bottom:1px solid #c9c9c9;background:#f4f4f4}.record{border-bottom:1px solid #c9c9c9}.record:last-child{border-bottom:0}.record summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:125px minmax(180px,1fr) minmax(240px,1.25fr) 190px 20px;gap:12px;align-items:center;padding:11px 12px;background:#fff}.record:nth-of-type(even) summary{background:#fafafa}.record summary::-webkit-details-marker{display:none}.record[open] summary{background:#dce8f5;border-bottom:1px solid #c9c9c9}.record-date{color:#5b616b;font-size:13px}.record-company{font-weight:bold;color:#112e51}.record-title{color:#323a45}.record-body{padding:12px;background:#f8f8f8}.record-form{border-left:4px solid #112e51;padding-left:12px}.admin-empty{padding:24px;text-align:center;color:#5b616b}@media(max-width:1000px){.header-inner{align-items:flex-start;flex-direction:column}.header-motto{white-space:normal}.controls{grid-template-columns:1fr 220px}.controls .btn{grid-column:1/-1;justify-self:start}.form-grid{grid-template-columns:1fr 1fr}.form-field.full{grid-column:1/-1}.record summary{grid-template-columns:100px 1fr 1.1fr 160px 20px}}@media(max-width:720px){.header-inner,.page,.footer-inner{padding-left:14px;padding-right:14px}.header-title{font-size:27px}.controls{grid-template-columns:1fr}.controls .btn{grid-column:auto;width:100%}.meta-bar{align-items:flex-start;flex-direction:column}.table-wrap{overflow:visible;border:0;background:transparent}table{display:block;min-width:0}thead{display:none}tbody{display:grid;gap:10px}tbody tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #7b7b7b;background:#fff!important}tbody td{border:0;border-bottom:1px solid #ddd;padding:10px}tbody td::before{content:attr(data-label);display:block;margin-bottom:4px;color:#112e51;font-size:11px;font-weight:bold;text-transform:uppercase;letter-spacing:.04em}tbody td[data-label=Company],tbody td[data-label="Job Title"],tbody td[data-label=Notes]{grid-column:1/-1}tbody td[data-label=Notes]{border-bottom:0}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.record-tools{grid-template-columns:1fr}.record summary{grid-template-columns:1fr 20px;gap:4px 10px}.record-date,.record-company,.record-title,.record summary .status{grid-column:1}.chevron{grid-column:2;grid-row:1/5}}
/* JobLog export */
.export-bar{
    display:flex;
    justify-content:flex-end;
    margin:0 0 10px;
}
.export-link{
    display:inline-block;
    border:1px solid #a8adb3;
    border-radius:0;
    background:#fff;
    color:#222;
    padding:8px 12px;
    font:600 14px/1.2 Arial,sans-serif;
    text-decoration:none;
}
.export-link:hover,
.export-link:focus{
    background:#f1f2f3;
    color:#111;
    text-decoration:none;
}
@media(max-width:720px){
    .export-link{
        display:block;
        width:100%;
        box-sizing:border-box;
        text-align:center;
    }
}


/* Export link refinement */
.export-bar{
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center;
    margin:6px 0 8px !important;
}

.export-link{
    display:inline-block !important;
    padding:0 !important;
    border:0 !important;
    background:none !important;
    box-shadow:none !important;
    color:#4b5d70 !important;
    font:400 12px/1.2 Arial,sans-serif !important;
    text-decoration:none !important;
    white-space:nowrap;
}

.export-link:hover,
.export-link:focus{
    background:none !important;
    color:#22384d !important;
    text-decoration:underline !important;
}

@media (max-width:720px){
    .export-bar{
        justify-content:flex-start !important;
    }
}


/* Spreadsheet download integrated into filter bar */
.controls {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 175px auto auto !important;
    gap: 8px !important;
    align-items: center !important;
    margin-top: 0 !important;
}

.download-xlsx {
    box-sizing: border-box;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #24496b;
    border-radius: 0;
    background: #ffffff;
    color: #17395c;
    font: 600 12px/1 Arial, sans-serif;
    text-decoration: none;
    white-space: nowrap;
}

.download-xlsx:hover,
.download-xlsx:focus {
    background: #f2f5f8;
    color: #0d2d4d;
    text-decoration: none;
}

.export-bar {
    display: none !important;
}

@media (max-width: 720px) {
    .controls {
        grid-template-columns: 1fr !important;
    }

    .download-xlsx {
        width: 100%;
    }
}

/* Match Clear Filters and Download XLSX exactly */
.controls button,
.controls .download-xlsx {
    box-sizing: border-box !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border: 1px solid #24496b !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #17395c !important;

    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-decoration: none !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

.controls button:hover,
.controls button:focus,
.controls .download-xlsx:hover,
.controls .download-xlsx:focus {
    background: #f2f5f8 !important;
    color: #0d2d4d !important;
    text-decoration: none !important;
}

/* Recruiter tracker */
.joblog-tabs{
    display:flex;
    gap:0;
    margin:0 0 14px;
    border-bottom:1px solid #7b7b7b;
    background:#fff
}

.joblog-tabs a{
    display:inline-block;
    padding:9px 14px;
    border:1px solid #c9c9c9;
    border-bottom:0;
    background:#f4f4f4;
    color:#112e51;
    font-weight:bold;
    text-decoration:none
}

.joblog-tabs a+a{
    border-left:0
}

.joblog-tabs a.active{
    background:#112e51;
    color:#fff;
    border-color:#112e51
}

.recruiter-table{
    min-width:1500px
}

.recruiter-form-grid{
    display:grid;
    grid-template-columns:
        repeat(
            4,
            minmax(180px,1fr)
        );
    gap:10px
}

.recruiter-form-grid .full{
    grid-column:1/-1
}

.cell-subtle{
    margin-top:3px;
    color:#5b616b;
    font-size:12px
}

.col-links{
    width:120px
}

@media(max-width:1000px){

    .recruiter-form-grid{
        grid-template-columns:
            1fr 1fr
    }
}

@media(max-width:720px){

    .joblog-tabs{
        display:grid;
        grid-template-columns:1fr
    }

    .joblog-tabs a,
    .joblog-tabs a+a{
        border:1px solid #c9c9c9;
        border-bottom:0
    }

    .joblog-tabs a:last-child{
        border-bottom:
            1px solid #c9c9c9
    }

    .recruiter-form-grid{
        grid-template-columns:1fr
    }

    .recruiter-form-grid .full{
        grid-column:auto
    }

    .recruiter-table{
        min-width:0
    }
}

/* Application Sites directory */
.joblog-tabs{
    display:flex;
    gap:0;
    margin:0 0 14px;
    border-bottom:1px solid #7b7b7b;
    background:#fff
}
.joblog-tabs a{
    display:inline-block;
    padding:9px 14px;
    border:1px solid #c9c9c9;
    border-bottom:0;
    background:#f4f4f4;
    color:#112e51;
    font-weight:700;
    text-decoration:none
}
.joblog-tabs a+a{border-left:0}
.joblog-tabs a.active{
    background:#112e51;
    color:#fff;
    border-color:#112e51
}
.application-sites-table{min-width:780px}
.application-sites-table .site-count{
    width:160px;
    text-align:center;
    font-weight:700
}
.site-type{
    display:inline-block;
    padding:3px 7px;
    border:1px solid #b8bec6;
    background:#f5f6f7;
    font-size:12px;
    font-weight:700
}
.site-open-link{
    display:inline-block;
    padding:6px 10px;
    border:1px solid #112e51;
    background:#fff;
    color:#112e51;
    font-weight:700;
    text-decoration:none
}
.site-open-link:hover,
.site-open-link:focus{
    background:#112e51;
    color:#fff
}
.site-url-pending{
    color:#6a6f75;
    font-size:12px
}
.site-footnote{
    margin:12px 0 0;
    color:#5b616b;
    font-size:12px;
    line-height:1.5
}
@media(max-width:720px){
    .joblog-tabs{
        display:grid;
        grid-template-columns:1fr
    }
    .joblog-tabs a,
    .joblog-tabs a+a{
        border:1px solid #c9c9c9;
        border-bottom:0
    }
    .joblog-tabs a:last-child{
        border-bottom:1px solid #c9c9c9
    }
    .application-sites-table{min-width:0}
}

/* Clickable company names on the Applications table */
.company-link{
    color:inherit;
    font-weight:700;
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-underline-offset:2px;
}
.company-link:hover,
.company-link:focus-visible{
    text-decoration-thickness:2px;
}
