
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #82c9ef;
    font-family: Arial, sans-serif;
    color: #2f1d10;
}

.login-wrap {
    max-width: 520px;
    margin: 70px auto;
    background: #fff5e4;
    border: 5px solid #5b321b;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

.login-wrap h1 {
    margin: 0 0 8px;
    color: #4b2915;
    font-family: Georgia, serif;
    text-align: center;
}

.login-wrap p {
    text-align: center;
    font-weight: bold;
    color: #41651f;
}

.login-wrap input[type="password"] {
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    border: 2px solid #8b6b4a;
    font-size: 16px;
    margin: 10px 0;
}

.login-wrap button,
.login-wrap a {
    display: inline-block;
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 12px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.login-wrap button {
    background: #41651f;
    color: white;
}

.login-wrap a {
    background: #5b321b;
    color: white;
    margin-top: 10px;
}

.notice,
.error-box {
    max-width: 1050px;
    margin: 8px auto;
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
}

.notice {
    background: #40651f;
}

.error-box {
    background: #a51f1f;
}

.admin-panel {
    max-width: 1050px;
    margin: 20px auto 95px;
    background: #fff5e4;
    border: 4px solid #5b321b;
    border-radius: 14px;
    padding: 13px;
    box-shadow: 0 3px 8px rgba(0,0,0,.18);
}

.admin-panel h2 {
    margin: 0 0 8px;
    color: #4b2915;
    font-family: Georgia, serif;
}

.admin-panel label {
    display: block;
    font-weight: bold;
    margin: 8px 0;
}

.admin-panel input[type="password"],
.admin-panel input[type="date"] {
    width: 100%;
    max-width: 390px;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #8b6b4a;
}

.admin-panel button,
.admin-panel a {
    display: inline-block;
    background: #5b321b;
    color: white;
    border: 0;
    border-radius: 9px;
    padding: 10px 13px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
}

.admin-panel .green-btn {
    background: #41651f;
}

.font-toolbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff5e4;
    border-bottom: 4px solid #5b321b;
    padding: 8px;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 3px 8px rgba(0,0,0,.18);
}

.font-toolbar button,
.font-toolbar select,
.font-toolbar input[type="color"],
.font-toolbar input[type="number"] {
    border: 1px solid #8b6b4a;
    background: #ffffff;
    color: #3b2414;
    border-radius: 6px;
    padding: 6px 8px;
    font-weight: bold;
    cursor: pointer;
}

.font-toolbar input[type="number"] {
    width: 75px;
}

.font-toolbar input[type="file"] {
    display: none;
}

.planner-picture-layer {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5000;
    pointer-events: none;
}

.planner-picture-layer .floating-picture {
    pointer-events: <?php echo $canEdit ? 'auto' : 'none'; ?>;
}

.floating-picture {
    position: absolute;
    z-index: 5001;
    width: 180px;
    height: 120px;
    min-width: 35px;
    min-height: 35px;
    user-select: none;
    touch-action: none;
    opacity: 1;
    pointer-events: <?php echo $canEdit ? 'auto' : 'none'; ?>;
    cursor: <?php echo $canEdit ? 'move' : 'default'; ?>;
}

.floating-picture img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.floating-picture.selected {
    z-index: 5002;
    outline: 2px dashed #1f4f9c;
    background: rgba(255,255,255,.20);
}

.picture-delete,
.picture-resize {
    display: none;
    position: absolute;
    z-index: 3;
}

.floating-picture.selected .picture-delete,
.floating-picture.selected .picture-resize {
    display: block;
}

.picture-delete {
    top: -13px;
    right: -13px;
    width: 25px;
    height: 25px;
    line-height: 23px;
    border-radius: 50%;
    border: 2px solid white;
    background: #a51f1f;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.30);
}

.picture-resize {
    width: 12px;
    height: 12px;
    border: 2px solid white;
    background: #1f4f9c;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.30);
}
.picture-resize.nw { left: -8px; top: -8px; cursor: nwse-resize; }
.picture-resize.n  { left: 50%; top: -8px; transform: translateX(-50%); cursor: ns-resize; }
.picture-resize.ne { right: -8px; top: -8px; cursor: nesw-resize; }
.picture-resize.e  { right: -8px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }
.picture-resize.se { right: -8px; bottom: -8px; cursor: nwse-resize; }
.picture-resize.s  { left: 50%; bottom: -8px; transform: translateX(-50%); cursor: ns-resize; }
.picture-resize.sw { left: -8px; bottom: -8px; cursor: nesw-resize; }
.picture-resize.w  { left: -8px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }

.picture-context-menu {
    position: fixed;
    z-index: 20000;
    display: none;
    min-width: 165px;
    background: #fff5e4;
    border: 3px solid #5b321b;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0,0,0,.28);
    padding: 6px;
}

.picture-context-menu button {
    display: block;
    width: 100%;
    margin: 2px 0;
    padding: 9px 10px;
    border: 0;
    border-radius: 7px;
    background: #5b321b;
    color: white;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
}

.picture-context-menu button:hover {
    background: #41651f;
}

.picture-context-menu .danger-menu-btn {
    background: #a51f1f;
}

.color-label {
    font-weight: bold;
    color: #5b321b;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.toolbar {
    position: relative;
    z-index: 10000;
    max-width: 1050px;
    margin: 10px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    flex-wrap: wrap;
}

.toolbar a,
.toolbar button,
.toolbar select {
    background: #5b321b;
    color: white;
    border: 0;
    border-radius: 10px;
    padding: 10px 13px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.toolbar .admin-link {
    background: #41651f;
}

.jump-box {
    position: relative;
    z-index: 10001;
    min-width: 520px;
    background: #fff5e4;
    border: 3px solid #5b321b;
    border-radius: 14px;
    padding: 8px;
    display: flex;
    gap: 7px;
    align-items: center;
    flex-wrap: wrap;
}

.jump-box label {
    font-weight: bold;
    color: #5b321b;
    font-size: 13px;
}

.jump-box select {
    min-width: 115px;
    background: white;
    color: #5b321b;
    border: 1px solid #8b6b4a;
    padding: 8px;
}

.jump-box button {
    min-width: 62px;
    background: #41651f;
    color: white;
    padding: 8px 12px;
}

#jumpYear {
    width: 90px;
}

#jumpMonth {
    width: 145px;
}

#jumpWeek {
    width: 260px;
    min-width: 260px;
}

.planner-page {
    width: 8.5in;
    min-height: 11in;
    margin: 6px auto 75px;
    background:
        radial-gradient(circle at top, rgba(255,255,255,.78), rgba(255,247,232,.95)),
        #fff5e4;
    border: 6px solid #5b321b;
    border-radius: 14px;
    padding: .15in .18in .12in .18in;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.22);
}

.leaves-top {
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 50px;
    background:
        radial-gradient(ellipse at 7% 30%, rgba(87,74,39,.24) 0 7px, transparent 8px),
        radial-gradient(ellipse at 15% 10%, rgba(87,74,39,.21) 0 8px, transparent 9px),
        radial-gradient(ellipse at 83% 10%, rgba(87,74,39,.22) 0 8px, transparent 9px),
        radial-gradient(ellipse at 92% 30%, rgba(87,74,39,.24) 0 7px, transparent 8px);
    opacity: .9;
}

.root-watermark {
    position: absolute;
    left: 82px;
    top: 205px;
    width: 390px;
    height: 560px;
    opacity: .10;
    pointer-events: none;
}

.bottom-roots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    background:
        linear-gradient(20deg, transparent 45%, rgba(63,34,17,.55) 47%, transparent 49%),
        linear-gradient(-20deg, transparent 45%, rgba(63,34,17,.50) 47%, transparent 49%),
        linear-gradient(8deg, transparent 45%, rgba(63,34,17,.42) 47%, transparent 49%),
        #5b321b;
    background-size: 85px 42px;
}

.header {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 98px 1fr 112px;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
}

.tree-logo {
    width: 88px;
    height: 88px;
}

.title-area {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

.title-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.title-main {
    font-family: Georgia, serif;
    color: #4b2915;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1;
}

.title-sub {
    color: #41651f;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    white-space: nowrap;
    text-transform: none;
}

.brand {
    text-align: center;
    font-weight: bold;
    color: #444;
    line-height: 1.05;
}

.brand .ut {
    color: #d84b25;
    font-size: 22px;
}

.brand .rgv {
    color: #555;
    font-size: 22px;
}

.brand .ehs {
    display: block;
    color: #333;
    font-size: 17px;
    margin-top: 3px;
}

.brand .small-brand {
    font-size: 7px;
    margin-top: 4px;
}

.week-title {
    position: relative;
    z-index: 2;
    text-align: right;
    font-weight: bold;
    color: #4b2915;
    font-size: 14px;
    margin: 0 24px 6px 0;
}

.week-title span {
    border-bottom: 2px solid #4b2915;
    padding: 0 12px 3px;
    font-size: 17px;
}

.main-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 58% 40%;
    gap: 12px;
}

.days-column {
    border: 2px solid #4b2915;
    border-radius: 7px;
    overflow: hidden;
    background: rgba(255,255,255,.52);
}

.day-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    min-height: 86px;
    height: auto;
    border-bottom: 2px solid #4b2915;
}

.day-row:last-child {
    border-bottom: 0;
}

.day-label {
    background: linear-gradient(180deg, #6a3b1f, #3d1f0e);
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 8px 4px;
    letter-spacing: 0;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.05;
}

.day-label small {
    font-size: 10px;
    font-weight: normal;
    margin-top: 4px;
    line-height: 1.1;
}

.day-entry {
    padding: 6px 8px;
}

.holiday {
    display: inline-block;
    background: #f4d99d;
    border: 1px dashed #8a4c1e;
    border-radius: 8px;
    padding: 3px 7px;
    color: #6b350d;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 4px;
}

.editable {
    width: 100%;
    min-height: 58px;
    height: auto;
    border: 0;
    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 22px,
            rgba(165,122,76,.28) 23px
        );
    overflow: visible;
    font-size: 12px;
    font-family: Arial, sans-serif;
    line-height: 1.25;
    padding: 0 4px;
    color: #222;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.editable[contenteditable="false"] {
    cursor: default;
}

.editable:focus {
    outline: 2px solid rgba(91,50,27,.25);
    background-color: rgba(255,255,255,.45);
}

.editable img {
    max-width: 160px;
    height: auto;
    border: 2px dashed #a51f1f;
    cursor: pointer;
}


.editable ul,
.editable ol {
    margin: 4px 0 4px 22px;
    padding-left: 18px;
    list-style-position: outside;
}

.editable li {
    margin: 2px 0;
    padding-left: 2px;
}

.side-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.side-box {
    border: 2px solid #4b2915;
    border-radius: 7px;
    background: rgba(255,255,255,.58);
    overflow: hidden;
}

.side-box h3 {
    margin: 0;
    background: linear-gradient(180deg, #6a3b1f, #3d1f0e);
    color: white;
    text-align: center;
    padding: 7px;
    font-size: 17px;
}

.priorities .editable {
    min-height: 135px;
}

.todo .editable {
    min-height: 190px;
}

.notes .editable {
    min-height: 132px;
}

.footer-text {
    position: relative;
    z-index: 2;
    margin-top: 5px;
    text-align: center;
    font-family: Georgia, serif;
    font-size: 12px;
    color: #4b2915;
    border-top: 1px solid #8b6b4a;
    padding-top: 5px;
    white-space: nowrap;
}

.actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff5e4;
    border-top: 4px solid #5b321b;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 50;
}

.actions button {
    border: 0;
    border-radius: 10px;
    padding: 11px 18px;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

.save-btn {
    background: #41651f !important;
}

.print-btn {
    background: #7c3f17 !important;
}



/* Planner Pro Sidebar / Command Center */
.planner-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 282px;
    z-index: 30000;
    background:
        linear-gradient(180deg, rgba(54,31,15,.96), rgba(88,52,26,.96)),
        repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 12px);
    color: #fff5e4;
    border-right: 5px solid #b98a43;
    box-shadow: 7px 0 25px rgba(0,0,0,.28);
    display: flex;
    flex-direction: column;
}

.planner-with-sidebar {
    padding-left: 282px;
}

body.sidebar-collapsed {
    padding-left: 72px;
}

body.sidebar-collapsed .planner-sidebar {
    width: 72px;
}

body.sidebar-collapsed .sidebar-text,
body.sidebar-collapsed .sidebar-section-title,
body.sidebar-collapsed .sidebar-months,
body.sidebar-collapsed .sidebar-panel,
body.sidebar-collapsed .sidebar-brand-sub,
body.sidebar-collapsed .sidebar-mini-label {
    display: none !important;
}

.sidebar-head {
    padding: 12px 10px 9px;
    border-bottom: 2px solid rgba(255,245,228,.22);
    background: rgba(0,0,0,.16);
}

.sidebar-topline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-toggle {
    min-width: 50px;
    height: 38px;
    border: 2px solid #d9bd7a;
    background: #41651f;
    color: white;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: .4px;
}

.sidebar-brand-main {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    color: #ffe7aa;
}

.sidebar-brand-sub {
    font-size: 10px;
    letter-spacing: 1px;
    color: #dce8bf;
    margin-top: 3px;
    font-weight: bold;
}

.sidebar-scroll {
    padding: 10px;
    overflow-y: auto;
    flex: 1;
}

.sidebar-action,
.sidebar-link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    border: 0;
    border-radius: 10px;
    padding: 9px 10px;
    margin: 4px 0;
    background: rgba(255,245,228,.12);
    color: #fff5e4;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    text-align: left;
    font-size: 13px;
}

.sidebar-action:hover,
.sidebar-link:hover,
.sidebar-week:hover {
    background: #41651f;
    color: white;
}

.sidebar-icon {
    width: 30px;
    height: 25px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255,231,170,.65);
    background: linear-gradient(180deg, rgba(255,231,170,.23), rgba(0,0,0,.12));
    color: #ffe7aa;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .2px;
    font-family: Arial, sans-serif;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.sidebar-link:hover .sidebar-icon,
.sidebar-action:hover .sidebar-icon {
    background: #fff5e4;
    color: #41651f;
    border-color: #fff5e4;
}
.sidebar-photo-mark {
    display: inline-block;
    margin-left: 5px;
    padding: 1px 4px;
    border-radius: 999px;
    background: #41651f;
    color: #fff5e4;
    font-size: 9px;
    font-weight: bold;
    vertical-align: middle;
}

.sidebar-section-title {
    margin: 13px 4px 7px;
    color: #ffe7aa;
    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255,231,170,.45);
    padding-bottom: 5px;
}

.sidebar-month {
    margin: 5px 0;
    border: 1px solid rgba(255,245,228,.18);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0,0,0,.12);
}

.sidebar-month summary {
    cursor: pointer;
    padding: 9px 10px;
    font-weight: bold;
    color: #ffe7aa;
    list-style: none;
}

.sidebar-month summary::-webkit-details-marker {
    display: none;
}

.sidebar-week {
    display: block;
    color: #fff5e4;
    text-decoration: none;
    padding: 7px 10px 7px 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 12px;
}

.sidebar-week.current-week {
    background: #bd6228;
    color: white;
    font-weight: bold;
}

.sidebar-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    background: rgba(255,255,255,.35);
}

.sidebar-dot.has-data {
    background: #9fd36a;
}

.sidebar-panel {
    display: none;
    margin: 8px 0 12px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255,245,228,.10);
    border: 1px solid rgba(255,245,228,.20);
}

.sidebar-panel.open {
    display: block;
}

.sidebar-panel h3 {
    margin: 0 0 8px;
    font-family: Georgia, serif;
    color: #ffe7aa;
    font-size: 16px;
}

.sidebar-panel input[type="text"] {
    width: 100%;
    padding: 9px;
    border-radius: 8px;
    border: 2px solid #d9bd7a;
    margin-bottom: 8px;
}

.sidebar-result,
.sidebar-small-card {
    display: block;
    color: #fff5e4;
    text-decoration: none;
    background: rgba(0,0,0,.16);
    border-radius: 9px;
    padding: 8px;
    margin: 6px 0;
    font-size: 12px;
    line-height: 1.25;
}

.sidebar-result strong,
.sidebar-small-card strong {
    color: #ffe7aa;
}

.sidebar-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.sidebar-stat {
    background: rgba(0,0,0,.18);
    border-radius: 10px;
    padding: 8px;
    text-align: center;
}

.sidebar-stat b {
    display: block;
    color: #ffe7aa;
    font-size: 18px;
}

.sidebar-stat span {
    font-size: 10px;
    color: #fff5e4;
}

.sidebar-picture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.sidebar-picture-grid a {
    display: block;
    background: rgba(0,0,0,.18);
    border-radius: 8px;
    padding: 5px;
    color: white;
    text-decoration: none;
    font-size: 10px;
}

.sidebar-picture-grid img {
    width: 100%;
    height: 58px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 3px;
}

.sidebar-footer {
    padding: 8px 10px;
    border-top: 1px solid rgba(255,245,228,.22);
    font-size: 10px;
    color: #e5d6b9;
    text-align: center;
}

.sidebar-spacer-print {
    display: none;
}


.sticky-note {
    position:absolute;
    z-index: 6000;
    width: 160px;
    min-height: 90px;
    background: #fff3a8;
    color: #3b2414;
    border: 2px solid #d5ad31;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,.22);
    padding: 8px 8px 18px;
    font-size: 12px;
    line-height: 1.25;
    cursor: move;
}
.sticky-note textarea {
    width:100%; min-height:65px; border:0; background:transparent; resize:vertical; font-family:Arial,sans-serif; font-size:12px; color:#3b2414;
}
.sticky-delete {
    position:absolute; right:5px; bottom:3px; border:0; background:#a51f1f; color:white; border-radius:5px; font-weight:bold; cursor:pointer;
}
.task-board {
    display:grid;
    grid-template-columns: 1fr;
    gap:8px;
    margin-top:8px;
}
.task-column {
    background: rgba(0,0,0,.16);
    border: 1px solid rgba(255,245,228,.24);
    border-radius: 10px;
    padding: 7px;
    min-height: 56px;
}
.task-column h4 { margin:0 0 5px; color:#ffe7aa; font-size:12px; }
.task-card {
    background:#fff5e4;
    color:#3b2414;
    border-left: 6px solid #5b321b;
    border-radius: 8px;
    padding: 6px;
    margin:5px 0;
    font-size:11px;
    cursor: grab;
}
.task-card b { display:block; }
.task-meta { font-size:10px; color:#6b350d; }
.task-card .task-x { float:right; border:0; background:#a51f1f; color:white; border-radius:4px; cursor:pointer; }
.assistant-answer {
    margin-top:7px;
    background: rgba(0,0,0,.18);
    border-radius: 9px;
    padding: 8px;
    font-size: 12px;
    color:#fff5e4;
    line-height:1.3;
}
@media print {
    .sticky-delete { display:none !important; }
    .sticky-note { box-shadow:none !important; }
}

@media(max-width: 1100px) {
    .planner-with-sidebar,
    body.sidebar-collapsed {
        padding-left: 0;
    }
    .planner-sidebar {
        transform: translateX(-100%);
        transition: transform .2s ease;
    }
    body.sidebar-mobile-open .planner-sidebar {
        transform: translateX(0);
    }
    .sidebar-mobile-tab {
        display: block !important;
    }
}

.sidebar-mobile-tab {
    display: none;
    position: fixed;
    left: 10px;
    top: 10px;
    z-index: 40000;
    background: #41651f;
    color: white;
    border: 2px solid #d9bd7a;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: bold;
    cursor: pointer;
}

@media(max-width: 900px) {
    .toolbar {
        justify-content: center;
    }

    .jump-box {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    #jumpYear,
    #jumpMonth,
    #jumpWeek {
        width: 100%;
        min-width: 0;
        max-width: 320px;
    }

    .planner-page {
        width: calc(100% - 16px);
        height: auto;
        min-height: 11in;
        padding: 12px;
    }

    .header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tree-logo {
        margin: auto;
    }

    .title-line {
        flex-direction: column;
        gap: 4px;
    }

    .title-main {
        font-size: 34px;
    }

    .title-sub {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .main-layout {
        grid-template-columns: 1fr;
    }

    .week-title {
        text-align: center;
        margin-right: 0;
    }

    .day-row {
        grid-template-columns: 1fr;
        height: auto;
    }

    .day-label {
        font-size: 15px;
        padding: 8px;
    }

    .day-entry .editable {
        min-height: 70px;
    }

    .actions {
        flex-direction: column;
    }

    .actions button {
        width: 100%;
    }
}

@media print {
    @page {
        size: letter portrait;
        margin: .12in;
    }

    html,
    body {
        width: 8.5in;
        background: white !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .planner-sidebar,
    .sidebar-mobile-tab,
    .font-toolbar,
    .toolbar,
    .notice,
    .error-box,
    .admin-panel,
    .actions {
        display: none !important;
    }

    .planner-page {
        width: 8.25in;
        min-height: 10.75in;
        height: auto;
        margin: 0 auto !important;
        border-radius: 0;
        box-shadow: none;
        border: 4px solid #5b321b;
        padding: .10in .14in .08in .14in;
        page-break-after: always;
        break-after: page;
        overflow: visible;
    }

    .header {
        grid-template-columns: 82px 1fr 100px;
        gap: 5px;
        margin-bottom: 4px;
    }

    .tree-logo {
        width: 72px;
        height: 72px;
    }

    .title-main {
        font-size: 25px;
    }

    .title-sub {
        font-size: 10px;
        letter-spacing: 1px;
        white-space: nowrap;
    }

    .brand .ut,
    .brand .rgv {
        font-size: 18px;
    }

    .brand .ehs {
        font-size: 15px;
    }

    .brand .small-brand {
        font-size: 6px;
    }

    .week-title {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .week-title span {
        font-size: 15px;
    }

    .main-layout {
        grid-template-columns: 58% 40%;
        gap: 9px;
    }

    .day-row {
        grid-template-columns: 82px 1fr;
        min-height: 77px;
        height: auto;
    }

    .day-label {
        font-size: 11px;
        padding: 5px 3px;
    }

    .day-label small {
        font-size: 8px;
    }

    .day-entry {
        padding: 4px 6px;
    }

    .editable {
        min-height: 48px;
        height: auto;
        font-size: 10px;
        line-height: 1.2;
        background:
            repeating-linear-gradient(
                to bottom,
                transparent 0,
                transparent 17px,
                rgba(165,122,76,.28) 18px
            ) !important;
        overflow: visible;
    }

    .editable ul,
    .editable ol {
        margin: 2px 0 2px 16px;
        padding-left: 14px;
    }

    .side-column {
        gap: 7px;
    }

    .side-box h3 {
        padding: 5px;
        font-size: 15px;
    }

    .priorities .editable {
        min-height: 112px;
    }

    .todo .editable {
        min-height: 160px;
    }

    .notes .editable {
        min-height: 106px;
    }

    .footer-text {
        font-size: 10px;
        margin-top: 4px;
        padding-top: 4px;
    }

    .bottom-roots {
        height: 30px;
    }

    .planner-picture-layer {
        z-index: 45 !important;
        pointer-events: none !important;
    }

    .floating-picture {
        outline: 0 !important;
        border: 0 !important;
    }

    .picture-delete,
    .picture-resize {
        display: none !important;
    }
}

/* ============================================================
   FINAL WIDE-SCREEN ROOTED IN EXCELLENCE INTERFACE
   Uses a separate clean 16:9 nature background image.
   ============================================================ */

html,
body {
    min-height: 100%;
    margin: 0;
    background-color: #78934f !important;
    background-image: url("planner_nature_background.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    color: #2f2116;
}

body {
    overflow-x: hidden;
}

/* Wide scenic title, directly over the background */
.final-hero {
    width: min(1320px, calc(100vw - 330px));
    min-height: 190px;
    margin: 8px auto 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.final-hero-brand-row {
    width: 100%;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 130px;
    align-items: center;
    gap: 12px;
}

.final-program-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.final-utrgv {
    color: #d84b25;
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: bold;
    text-shadow: 0 1px 0 #fff;
}

.final-ehs {
    color: #1658a7;
    font-size: 17px;
    font-weight: 900;
    line-height: .92;
    text-align: left;
    text-shadow: 0 1px 0 #fff;
}

.final-hero-center {
    text-align: center;
}

.final-hero-program {
    color: #174d2e;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 1px 0 rgba(255,255,255,.9);
}

.final-hero-title {
    margin-top: 0;
    color: #124f27;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 62px;
    line-height: 1;
    font-style: italic;
    font-weight: bold;
    text-shadow: 0 2px 0 rgba(255,255,255,.85);
}

.final-hero-subtitle {
    margin-top: 7px;
    color: #6f3b1b;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 1px 0 rgba(255,255,255,.9);
}

.final-hero-tagline {
    margin-top: 7px;
    color: #174d2e;
    font-size: 15px;
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(255,255,255,.9);
}

/* Cream sidebar */
.planner-sidebar {
    width: 255px !important;
    background: linear-gradient(180deg, #fffaf0 0%, #f3e3c3 100%) !important;
    color: #314326 !important;
    border-right: 4px solid #c89a4c !important;
    box-shadow: 6px 0 22px rgba(43,26,13,.28) !important;
}

.planner-with-sidebar {
    padding-left: 255px !important;
}

.sidebar-head {
    background: transparent !important;
    border-bottom: 1px solid #d7c49f !important;
}

.sidebar-toggle {
    background: #174d2e !important;
    border-color: #d6b95b !important;
}

.sidebar-brand-main {
    color: #174d2e !important;
    font-size: 21px !important;
}

.sidebar-brand-sub {
    color: #315d2b !important;
}

.sidebar-action,
.sidebar-link {
    background: #fffdf8 !important;
    color: #332419 !important;
    border: 1px solid #ddc89d !important;
    box-shadow: 0 1px 2px rgba(70,45,25,.08);
}

.sidebar-action:hover,
.sidebar-link:hover,
.sidebar-week:hover {
    background: #315d2b !important;
    color: #fff !important;
}

.sidebar-icon {
    background: linear-gradient(180deg, #f9e5aa, #d7b35b) !important;
    color: #315d2b !important;
    border-color: #bd8b36 !important;
}

.sidebar-section-title {
    color: #174d2e !important;
    border-bottom-color: #d7c49f !important;
    font-size: 15px !important;
    text-align: center;
}

.sidebar-month {
    background: #fff8e9 !important;
    border-color: #d8bf8f !important;
}

.sidebar-month summary {
    background: linear-gradient(180deg, #7a4218, #5b2f12) !important;
    color: #fff5dc !important;
    text-align: center;
}

.sidebar-week {
    color: #35261b !important;
    background: #fffaf0 !important;
}

.sidebar-week.current-week {
    background: #ef6b17 !important;
    color: #fff !important;
}

.sidebar-panel {
    background: #fffdf7 !important;
    color: #39291b !important;
}

/* Remove old top navigation bar */
.toolbar {
    display: none !important;
}

/* Admin formatting toolbar */
.font-toolbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 50000 !important;
    background: #fffaf0 !important;
    border-top: 1px solid #dbc8a2 !important;
    border-bottom: 3px solid #315d2b !important;
    box-shadow: 0 3px 9px rgba(44,28,15,.18) !important;
}

/* Main application card */
.planner-page {
    width: min(1240px, calc(100vw - 315px)) !important;
    min-height: 730px !important;
    margin: 4px auto 94px !important;
    padding: 12px 14px 14px !important;
    overflow: visible !important;
    border: 2px solid #ddb77d !important;
    border-radius: 16px !important;
    background: #fffaf0 !important;
    box-shadow: 0 12px 34px rgba(45,28,15,.28) !important;
}

.leaves-top,
.root-watermark,
.bottom-roots {
    display: none !important;
}

/* Inner weekly planner banner */
.header {
    grid-template-columns: 105px minmax(0,1fr) 150px !important;
    min-height: 96px;
    padding: 8px 14px;
    overflow: visible !important;
    border: 1px solid #ddb77d !important;
    border-radius: 12px !important;
    background: #fffdf8 !important;
}

.title-area,
.title-line {
    overflow: visible !important;
    min-width: 0 !important;
}

.title-main {
    color: #174d2e !important;
    font-size: 37px !important;
    letter-spacing: .5px !important;
    white-space: nowrap !important;
}

.title-sub {
    color: #e45d1d !important;
    font-size: 13px !important;
    letter-spacing: .5px !important;
}

.week-title {
    margin: 4px 0 8px !important;
    text-align: center !important;
    color: #174d2e !important;
    background: #fffaf0 !important;
}

.week-title span {
    border-bottom-color: #e45d1d !important;
}

/* Horizontal week rows */
.final-main-layout {
    display: block !important;
    position: relative;
    z-index: 2;
}

.final-days {
    width: 100%;
    overflow: hidden !important;
    border: 1px solid #c48a4f !important;
    border-radius: 10px !important;
    background: #fffdf8 !important;
}

.final-day-row {
    display: grid !important;
    grid-template-columns: 150px 1fr !important;
    min-height: 60px !important;
    border-bottom: 1px solid #c9a77c !important;
}

.final-day-row:last-child {
    border-bottom: 0 !important;
}

.day-label {
    background: linear-gradient(180deg, #176329, #0f4f22) !important;
    color: #fff6d8 !important;
    font-size: 15px !important;
    opacity: 1 !important;
}

.day-label small {
    color: #fff !important;
    font-size: 12px !important;
}

.day-entry {
    padding: 6px 10px !important;
    background: #fffdf8 !important;
}

.final-day-row:nth-child(6) .day-entry {
    background: #edf7fb !important;
}

.final-day-row:nth-child(7) .day-entry {
    background: #fff6dc !important;
}

.final-day-row .editable {
    min-height: 47px !important;
    font-size: 12px !important;
    line-height: 1.28 !important;
    background:
        repeating-linear-gradient(
            to bottom,
            #fffdf8 0,
            #fffdf8 22px,
            #eadfcd 23px
        ) !important;
}

/* Lower panels */
.final-lower-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.final-lower-grid .side-box {
    min-height: 175px;
    overflow: hidden;
    border: 1px solid #ddb77d !important;
    border-radius: 10px !important;
    background: #fffdf8 !important;
}

.final-lower-grid .side-box h3 {
    margin: 0;
    padding: 9px 11px;
    color: #3a281b !important;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #ead9bd;
    background: #fffaf0 !important;
}

.final-lower-grid .editable {
    min-height: 132px !important;
    padding: 9px 11px !important;
    font-size: 12px !important;
    background: #fffdf8 !important;
}

.final-inspiration {
    background:
        radial-gradient(circle at 75% 25%, rgba(255,221,129,.42), transparent 45%),
        linear-gradient(145deg, #fff9e8, #edf2d7) !important;
}

.final-inspiration .editable {
    color: #174d2e !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    padding-top: 26px !important;
    background: transparent !important;
}

/* Bottom controls */
.actions {
    background: rgba(255,250,240,.97) !important;
    border-top: 3px solid #315d2b !important;
    flex-wrap: wrap;
    box-shadow: 0 -4px 14px rgba(45,28,15,.18);
}

.bottom-nav-btn {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 9px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.public-btn,
.admin-bottom-btn {
    background: #315d2b;
}

.logout-btn {
    background: #c42a2a;
}

.view-logout-btn {
    background: #15509c;
}

.save-btn {
    background: #315d2b !important;
}

.print-btn {
    background: #7a3d17 !important;
}

.admin-panel {
    width: min(1240px, calc(100vw - 315px));
    max-width: none !important;
    background: #fffaf0 !important;
    border-color: #6a3b1f !important;
}

@media (max-width: 1100px) {
    .planner-with-sidebar {
        padding-left: 0 !important;
    }

    .final-hero,
    .planner-page,
    .admin-panel {
        width: calc(100% - 18px) !important;
    }
}

@media (max-width: 900px) {
    .final-hero {
        min-height: 150px;
        margin: 6px;
    }

    .final-hero-brand-row {
        grid-template-columns: 1fr;
    }

    .final-program-mark {
        display: none;
    }

    .final-hero-title {
        font-size: 40px;
    }

    .final-day-row {
        grid-template-columns: 1fr !important;
    }

    .final-lower-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    .final-hero,
    .font-toolbar,
    .actions {
        display: none !important;
    }

    html,
    body {
        background: #fff !important;
    }

    .planner-page {
        box-shadow: none !important;
    }
}


/* ============================================================
   FINAL PHONE AND PRINT REPAIR
   ============================================================ */

/* Keep the logo area separate from the title on desktop. */
.final-hero-brand-row {
    grid-template-columns: 215px minmax(0, 1fr) 215px !important;
    gap: 18px !important;
}

.final-program-mark {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0 !important;
    gap: 3px !important;
}

.final-utrgv,
.final-ehs {
    white-space: nowrap !important;
}

.final-ehs {
    display: block !important;
    line-height: 1.1 !important;
    text-align: left !important;
    margin: 0 !important;
}

.final-hero-center {
    min-width: 0 !important;
    width: 100% !important;
}

.final-hero-title {
    font-size: clamp(38px, 4.2vw, 60px) !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

.phone-date-nav {
    display: none;
}

/* Prevent overlap on medium-width screens. */
@media (max-width: 1250px) {
    .final-hero-brand-row {
        grid-template-columns: 170px minmax(0, 1fr) 170px !important;
        gap: 10px !important;
    }

    .final-utrgv {
        font-size: 28px !important;
    }

    .final-ehs {
        font-size: 14px !important;
    }

    .final-hero-title {
        font-size: clamp(34px, 4vw, 50px) !important;
    }

    .final-hero-subtitle {
        font-size: 15px !important;
        letter-spacing: 1px !important;
    }
}

/* True phone layout */
@media (max-width: 700px) {
    html,
    body {
        width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        background-attachment: scroll !important;
        background-position: center top !important;
    }

    body.planner-with-sidebar,
    body.sidebar-collapsed {
        padding-left: 0 !important;
    }

    .planner-sidebar {
        width: min(86vw, 310px) !important;
        max-width: 310px !important;
        transform: translateX(-105%) !important;
        transition: transform .22s ease !important;
    }

    body.sidebar-mobile-open .planner-sidebar {
        transform: translateX(0) !important;
    }

    .sidebar-mobile-tab {
        display: block !important;
        left: 8px !important;
        top: 8px !important;
        padding: 8px 10px !important;
        z-index: 60000 !important;
    }

    .final-hero {
        width: calc(100% - 12px) !important;
        min-height: 0 !important;
        margin: 6px auto !important;
        padding: 14px 10px !important;
        box-sizing: border-box !important;
        background: rgba(255, 250, 238, .97) !important;
        border: 1px solid #c99d61 !important;
        border-radius: 14px !important;
    }

    .final-hero-brand-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .final-program-mark {
        display: flex !important;
        order: 2 !important;
        align-items: center !important;
        width: 100% !important;
        gap: 2px !important;
    }

    .final-hero-center {
        order: 1 !important;
        width: 100% !important;
        text-align: center !important;
    }

    .final-utrgv {
        font-size: 24px !important;
        text-align: center !important;
    }

    .final-ehs {
        font-size: 15px !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    .final-hero-program {
        font-size: 11px !important;
        letter-spacing: 1px !important;
    }

    .final-hero-title {
        font-size: 34px !important;
        line-height: 1.04 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .final-hero-subtitle {
        margin-top: 6px !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        letter-spacing: .7px !important;
    }

    .final-hero-tagline {
        margin-top: 5px !important;
        font-size: 12px !important;
    }

    .phone-date-nav {
        display: block !important;
        width: calc(100% - 12px) !important;
        margin: 6px auto 8px !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        border: 1px solid #c99d61 !important;
        border-radius: 12px !important;
        background: #fffaf0 !important;
        box-shadow: 0 4px 14px rgba(45, 28, 15, .15) !important;
    }

    .phone-date-form {
        margin: 0 !important;
    }

    .phone-week-heading {
        margin-bottom: 8px !important;
        color: #174d2e !important;
        text-align: center !important;
        line-height: 1.25 !important;
    }

    .phone-week-heading span {
        display: block !important;
        font-size: 10px !important;
        font-weight: 800 !important;
    }

    .phone-week-heading strong {
        display: inline-block !important;
        margin-top: 2px !important;
        padding-bottom: 2px !important;
        border-bottom: 2px solid #e45d1d !important;
        font-size: 14px !important;
    }

    .phone-date-form label {
        display: block !important;
        margin-bottom: 6px !important;
        color: #174d2e !important;
        text-align: center !important;
        font-size: 13px !important;
        font-weight: 800 !important;
    }

    .phone-date-picker-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 68px !important;
        gap: 7px !important;
    }

    .phone-date-picker-row input[type="date"] {
        width: 100% !important;
        min-width: 0 !important;
        height: 44px !important;
        box-sizing: border-box !important;
        padding: 6px 8px !important;
        border: 1px solid #b98a45 !important;
        border-radius: 8px !important;
        background: #fff !important;
        color: #342319 !important;
        font-size: 16px !important;
    }

    .phone-date-picker-row button {
        height: 44px !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: #315d2b !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 800 !important;
    }

    .phone-week-links {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
        margin-top: 8px !important;
    }

    .phone-week-links a {
        display: block !important;
        min-width: 0 !important;
        padding: 9px 3px !important;
        border-radius: 8px !important;
        background: #6b3c1d !important;
        color: #fff !important;
        text-align: center !important;
        text-decoration: none !important;
        font-size: 11px !important;
        font-weight: 800 !important;
    }

    .font-toolbar {
        position: static !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        width: 100% !important;
        overflow-x: auto !important;
        padding: 7px !important;
        gap: 5px !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .font-toolbar button,
    .font-toolbar select,
    .font-toolbar input {
        flex: 0 0 auto !important;
    }

    .planner-page {
        width: calc(100% - 10px) !important;
        min-width: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 5px auto 150px !important;
        padding: 7px !important;
        border-width: 2px !important;
        border-radius: 10px !important;
        overflow: visible !important;
    }

    .header {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
        min-height: 0 !important;
        padding: 8px !important;
        text-align: center !important;
    }

    .tree-logo {
        width: 58px !important;
        height: 58px !important;
        margin: 0 auto !important;
    }

    .title-area,
    .title-line {
        width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    .title-line {
        display: block !important;
    }

    .title-main {
        font-size: 26px !important;
        white-space: normal !important;
    }

    .title-sub {
        display: block !important;
        margin-top: 4px !important;
        font-size: 11px !important;
        white-space: normal !important;
    }

    .brand {
        text-align: center !important;
    }

    .brand .ehs {
        white-space: nowrap !important;
    }

    .week-title {
        margin: 5px 0 8px !important;
        text-align: center !important;
        font-size: 10px !important;
    }

    .week-title span {
        display: block !important;
        margin-top: 3px !important;
        padding: 0 4px 3px !important;
        font-size: 14px !important;
        white-space: normal !important;
    }

    .final-main-layout {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .final-days {
        width: 100% !important;
        min-width: 0 !important;
    }

    .final-day-row {
        display: grid !important;
        grid-template-columns: 88px minmax(0, 1fr) !important;
        min-width: 0 !important;
        min-height: 82px !important;
    }

    .day-label {
        min-width: 0 !important;
        padding: 6px 3px !important;
        font-size: 10px !important;
    }

    .day-label small {
        font-size: 8px !important;
    }

    .day-entry {
        min-width: 0 !important;
        padding: 5px 6px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .final-day-row .editable {
        min-width: 0 !important;
        min-height: 68px !important;
        font-size: 12px !important;
        overflow-wrap: anywhere !important;
    }

    .final-lower-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .final-lower-grid .side-box {
        min-width: 0 !important;
        min-height: 135px !important;
    }

    .final-lower-grid .editable {
        min-height: 100px !important;
    }

    .floating-picture {
        max-width: calc(100vw - 30px) !important;
    }

    .actions {
        left: 0 !important;
        right: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        padding: 7px !important;
    }

    .actions button,
    .actions a {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 10px 6px !important;
        text-align: center !important;
        font-size: 11px !important;
    }

    .admin-panel {
        width: calc(100% - 10px) !important;
        max-width: none !important;
        margin: 10px auto 155px !important;
        padding: 12px !important;
    }

    .admin-panel input[type="password"],
    .admin-panel input[type="date"] {
        width: 100% !important;
        max-width: none !important;
    }
}

/* Print must never use the blue page/background. */
@media print {
    @page {
        size: letter portrait;
        margin: .12in;
    }

    html,
    body,
    body.planner-with-sidebar,
    body.sidebar-collapsed {
        width: 8.5in !important;
        min-width: 8.5in !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: #ffffff !important;
        background-image: none !important;
        background: #ffffff !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .final-hero,
    .phone-date-nav,
    .planner-sidebar,
    .sidebar-mobile-tab,
    .font-toolbar,
    .toolbar,
    .notice,
    .error-box,
    .admin-panel,
    .actions {
        display: none !important;
    }

    form#plannerForm {
        width: 8.5in !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    .planner-page {
        display: block !important;
        width: 8.25in !important;
        min-width: 8.25in !important;
        max-width: 8.25in !important;
        min-height: 10.75in !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: .10in .14in .08in .14in !important;
        border: 4px solid #5b321b !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background-color: #fff5e4 !important;
        background-image: none !important;
        background: #fff5e4 !important;
        overflow: visible !important;
        page-break-after: always !important;
        break-after: page !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .header,
    .week-title,
    .final-main-layout,
    .final-days,
    .final-day-row,
    .final-lower-grid,
    .side-box,
    .day-entry,
    .editable {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}


/* ============================================================
   FINAL BLUE TITLE + WARM BROWN ACCENT OVERRIDES
   Visual changes only; no planner structure or functionality changed.
   ============================================================ */

:root {
    --planner-blue: #2F5F8F;
    --planner-blue-dark: #21476F;
    --planner-brown: #6A3518;
    --planner-brown-dark: #3E1D0C;
    --planner-brown-medium: #8B4720;
    --planner-copper: #C46C2D;
    --planner-cream: #FFF8ED;
}

/* Only the large scenic heading and its two lines are blue. */
.final-hero-title,
.final-hero-subtitle,
.final-hero-tagline {
    color: var(--planner-blue) !important;
    text-shadow:
        0 2px 1px rgba(255,255,255,.92),
        0 2px 4px rgba(30,45,65,.24) !important;
}

/* Keep the small program identifier warm brown. */
.final-hero-program {
    color: var(--planner-brown-dark) !important;
}

/* Replace the remaining green planner accents with brown. */
.title-main,
.title-sub,
.week-title,
.final-inspiration .editable,
.sidebar-brand-main,
.sidebar-brand-sub,
.sidebar-section-title,
.login-wrap p,
.phone-week-heading,
.phone-date-form label {
    color: var(--planner-brown-dark) !important;
}

.title-sub {
    color: var(--planner-brown-medium) !important;
}

.week-title span {
    border-bottom-color: var(--planner-copper) !important;
}

/* Monday through Sunday labels */
.day-label {
    background: linear-gradient(
        180deg,
        var(--planner-brown-medium),
        var(--planner-brown-dark)
    ) !important;
    color: #FFFFFF !important;
}

.day-label small {
    color: #FFF8ED !important;
}

/* Buttons and active controls */
.sidebar-toggle,
.sidebar-mobile-tab,
.sidebar-action:hover,
.sidebar-link:hover,
.sidebar-week:hover,
.toolbar .admin-link,
.jump-box button,
.admin-panel .green-btn,
.login-wrap button,
.notice,
.public-btn,
.admin-bottom-btn,
.save-btn,
.phone-date-picker-row button {
    background: var(--planner-brown-medium) !important;
    color: #FFFFFF !important;
}

.sidebar-action:hover,
.sidebar-link:hover,
.sidebar-week:hover,
.phone-date-picker-row button:hover {
    background: var(--planner-brown-dark) !important;
}

.sidebar-week.current-week {
    background: var(--planner-copper) !important;
    color: #FFFFFF !important;
}

.sidebar-dot.has-data,
.sidebar-photo-mark {
    background: var(--planner-copper) !important;
}

/* Formatting toolbar and bottom action border */
.font-toolbar,
.actions {
    border-color: var(--planner-brown-medium) !important;
}

/* Lower panel headings */
.side-box h3,
.final-lower-grid .side-box h3 {
    color: var(--planner-brown-dark) !important;
    border-bottom-color: #D8B28D !important;
    background: #FFF8ED !important;
}

/* Phone week shortcut buttons */
.phone-week-links a {
    background: var(--planner-brown-medium) !important;
}

.phone-week-links a:hover {
    background: var(--planner-brown-dark) !important;
}

/* Picture editing accents */
.floating-picture.selected {
    outline-color: var(--planner-brown-medium) !important;
}

.picture-resize {
    background: var(--planner-brown-medium) !important;
}

/* Realistic uploaded Tree of Life emblem */
.realistic-tree-emblem {
    width: 88px !important;
    height: 88px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.realistic-tree-emblem img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Warm the inspiration panel without changing its structure. */
.final-inspiration {
    background:
        radial-gradient(circle at 75% 25%, rgba(196,108,45,.18), transparent 45%),
        linear-gradient(145deg, #FFF8E8, #F1DDC7) !important;
}

@media (max-width: 700px) {
    .realistic-tree-emblem {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto !important;
    }
}

@media print {
    .realistic-tree-emblem {
        width: 72px !important;
        height: 72px !important;
    }

    .final-hero-title,
    .final-hero-subtitle,
    .final-hero-tagline,
    .day-label {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}



/* ============================================================
   SUBTLE FALLING LEAVES ANIMATION
   Leaves drift gently from the upper tree canopy and disappear
   before reaching the planner content.
   ============================================================ */

.final-hero {
    overflow: hidden !important;
}

.falling-leaves {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.falling-leaf {
    position: absolute;
    top: -42px;
    display: block;
    opacity: 0;
    font-size: 22px;
    filter: drop-shadow(0 2px 2px rgba(70, 36, 14, .28));
    transform-origin: center center;
    will-change: transform, opacity, top, left;
}

.leaf-1 {
    left: 8%;
    animation: leafDriftOne 26s linear infinite;
    animation-delay: 1s;
}

.leaf-2 {
    left: 24%;
    animation: leafDriftTwo 31s linear infinite;
    animation-delay: 8s;
}

.leaf-3 {
    left: 72%;
    animation: leafDriftThree 29s linear infinite;
    animation-delay: 14s;
}

.leaf-4 {
    left: 88%;
    animation: leafDriftFour 34s linear infinite;
    animation-delay: 20s;
}

.leaf-5 {
    left: 42%;
    animation: leafDriftFive 37s linear infinite;
    animation-delay: 26s;
}

.leaf-6 {
    left: 61%;
    animation: leafDriftSix 41s linear infinite;
    animation-delay: 33s;
}

@keyframes leafDriftOne {
    0%, 8% {
        top: -42px;
        left: 8%;
        opacity: 0;
        transform: rotate(0deg) translateX(0);
    }
    12% {
        opacity: .95;
    }
    30% {
        top: 40px;
        left: 12%;
        transform: rotate(95deg) translateX(12px);
    }
    52% {
        top: 88px;
        left: 7%;
        transform: rotate(185deg) translateX(-14px);
    }
    72% {
        top: 135px;
        left: 13%;
        opacity: .88;
        transform: rotate(280deg) translateX(10px);
    }
    82%, 100% {
        top: 165px;
        left: 10%;
        opacity: 0;
        transform: rotate(360deg) translateX(0);
    }
}

@keyframes leafDriftTwo {
    0%, 12% {
        top: -42px;
        left: 24%;
        opacity: 0;
        transform: rotate(0deg) translateX(0);
    }
    16% {
        opacity: .9;
    }
    34% {
        top: 48px;
        left: 20%;
        transform: rotate(-100deg) translateX(-10px);
    }
    55% {
        top: 98px;
        left: 27%;
        transform: rotate(-190deg) translateX(14px);
    }
    73% {
        top: 140px;
        left: 22%;
        opacity: .84;
        transform: rotate(-270deg) translateX(-8px);
    }
    84%, 100% {
        top: 168px;
        left: 25%;
        opacity: 0;
        transform: rotate(-350deg);
    }
}

@keyframes leafDriftThree {
    0%, 10% {
        top: -42px;
        left: 72%;
        opacity: 0;
        transform: rotate(0deg);
    }
    15% {
        opacity: .94;
    }
    34% {
        top: 42px;
        left: 77%;
        transform: rotate(110deg) translateX(10px);
    }
    53% {
        top: 91px;
        left: 70%;
        transform: rotate(205deg) translateX(-13px);
    }
    72% {
        top: 136px;
        left: 76%;
        opacity: .86;
        transform: rotate(290deg) translateX(9px);
    }
    83%, 100% {
        top: 166px;
        left: 73%;
        opacity: 0;
        transform: rotate(370deg);
    }
}

@keyframes leafDriftFour {
    0%, 14% {
        top: -42px;
        left: 88%;
        opacity: 0;
        transform: rotate(0deg);
    }
    18% {
        opacity: .9;
    }
    35% {
        top: 44px;
        left: 84%;
        transform: rotate(-90deg) translateX(-9px);
    }
    55% {
        top: 96px;
        left: 91%;
        transform: rotate(-195deg) translateX(13px);
    }
    72% {
        top: 138px;
        left: 86%;
        opacity: .82;
        transform: rotate(-285deg) translateX(-8px);
    }
    84%, 100% {
        top: 167px;
        left: 89%;
        opacity: 0;
        transform: rotate(-365deg);
    }
}

@keyframes leafDriftFive {
    0%, 16% {
        top: -42px;
        left: 42%;
        opacity: 0;
        transform: rotate(0deg);
    }
    20% {
        opacity: .86;
    }
    40% {
        top: 50px;
        left: 46%;
        transform: rotate(120deg) translateX(11px);
    }
    59% {
        top: 101px;
        left: 39%;
        transform: rotate(215deg) translateX(-12px);
    }
    75% {
        top: 141px;
        left: 44%;
        opacity: .78;
        transform: rotate(300deg) translateX(8px);
    }
    86%, 100% {
        top: 168px;
        left: 42%;
        opacity: 0;
        transform: rotate(380deg);
    }
}

@keyframes leafDriftSix {
    0%, 18% {
        top: -42px;
        left: 61%;
        opacity: 0;
        transform: rotate(0deg);
    }
    22% {
        opacity: .88;
    }
    42% {
        top: 51px;
        left: 57%;
        transform: rotate(-115deg) translateX(-10px);
    }
    61% {
        top: 103px;
        left: 65%;
        transform: rotate(-220deg) translateX(13px);
    }
    77% {
        top: 143px;
        left: 59%;
        opacity: .8;
        transform: rotate(-305deg) translateX(-8px);
    }
    87%, 100% {
        top: 169px;
        left: 62%;
        opacity: 0;
        transform: rotate(-385deg);
    }
}

@media (max-width: 900px) {
    .falling-leaf {
        font-size: 18px;
    }
}

@media (max-width: 700px) {
    .falling-leaf {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .falling-leaves {
        display: none !important;
    }
}

@media print {
    .falling-leaves {
        display: none !important;
    }
}


/* Fix leaf rendering: use CSS leaf shapes instead of emoji characters. */
.falling-leaf {
    width: 18px !important;
    height: 12px !important;
    border-radius: 100% 0 100% 0 !important;
    background: linear-gradient(135deg, #d47b2c 0%, #a94f1e 60%, #6b2f13 100%) !important;
    box-shadow:
        inset -2px -1px 0 rgba(255,255,255,.18),
        0 2px 2px rgba(70,36,14,.22) !important;
    font-size: 0 !important;
}

.falling-leaf::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 1px;
    width: 1px;
    height: 11px;
    background: rgba(92,42,18,.65);
    transform: rotate(36deg);
    transform-origin: top center;
}

.falling-leaf::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 7px;
    width: 7px;
    height: 1px;
    background: rgba(92,42,18,.5);
    transform: rotate(-18deg);
    transform-origin: left center;
}

.leaf-2,
.leaf-5 {
    background: linear-gradient(135deg, #d9a13f 0%, #b86b25 60%, #78401a 100%) !important;
}

.leaf-3,
.leaf-6 {
    background: linear-gradient(135deg, #b4672b 0%, #8c441e 62%, #5d2a13 100%) !important;
}

.leaf-4 {
    background: linear-gradient(135deg, #c58a38 0%, #9d5f25 62%, #6a3517 100%) !important;
}

@media (max-width: 900px) {
    .falling-leaf {
        width: 15px !important;
        height: 10px !important;
    }
}

@media (max-width: 700px) {
    .falling-leaf {
        width: 13px !important;
        height: 9px !important;
    }
}


/* ===== Header title relocation update ===== */
.final-hero {
    min-height: 72px !important;
    height: 72px !important;
    margin: 0 auto 2px !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none;
}
.final-hero-brand-row,
.final-program-mark,
.final-hero-center {
    display: none !important;
}
.final-hero-leaf-space {
    width: 100%;
    height: 72px;
}
.planner-page {
    margin-top: 0 !important;
}
.header {
    grid-template-columns: 105px minmax(0,1fr) 150px !important;
    min-height: 132px !important;
    padding: 8px 14px 9px !important;
}
.title-area {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}
.header-program {
    color: #5b321b !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 2px !important;
}
.title-main {
    color: #174f88 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 38px !important;
    font-style: italic !important;
    line-height: .98 !important;
    letter-spacing: .2px !important;
    white-space: nowrap !important;
}
.title-sub {
    color: #174f88 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 1.25px !important;
    margin-top: 5px !important;
    white-space: nowrap !important;
}
.header-tagline {
    color: #174f88 !important;
    font-size: 11px !important;
    font-weight: bold !important;
    margin-top: 4px !important;
}
.weekly-planner-small {
    color: #5b321b !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    margin-top: 5px !important;
}
@media (max-width: 900px) {
    .final-hero {
        min-height: 52px !important;
        height: 52px !important;
        background: transparent !important;
        border: 0 !important;
    }
    .final-hero-leaf-space { height: 52px !important; }
    .header {
        min-height: 0 !important;
        grid-template-columns: 1fr !important;
        padding: 10px !important;
    }
    .title-main {
        font-size: 30px !important;
        white-space: normal !important;
    }
    .title-sub {
        font-size: 10px !important;
        letter-spacing: .7px !important;
        white-space: normal !important;
    }
    .header-tagline { font-size: 10px !important; }
    .weekly-planner-small { font-size: 8px !important; }
}
@media print {
    .final-hero { display: none !important; }
    .header { min-height: 112px !important; }
    .title-main { font-size: 31px !important; }
}

/* ===== Expanded, balanced planner header ===== */
.header {
    grid-template-columns: 150px minmax(0, 1fr) 175px !important;
    column-gap: 20px !important;
    min-height: 156px !important;
    padding: 14px 22px 15px !important;
    background:
        radial-gradient(ellipse at 50% 112%, rgba(139, 100, 65, .14) 0%, rgba(139, 100, 65, .07) 32%, transparent 66%),
        linear-gradient(180deg, #fffdf8 0%, #fff9ef 100%) !important;
}
.header::after {
    content: "";
    position: absolute;
    left: 17%;
    right: 17%;
    bottom: 5px;
    height: 42px;
    z-index: 0;
    pointer-events: none;
    opacity: .19;
    background:
        linear-gradient(165deg, transparent 47%, #9b7350 48%, transparent 50%) 0 14px / 95px 30px repeat-x,
        linear-gradient(195deg, transparent 47%, #9b7350 48%, transparent 50%) 46px 14px / 95px 30px repeat-x;
    mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
}
.header > * {
    position: relative;
    z-index: 1;
}
.realistic-tree-emblem {
    width: 112px !important;
    height: 112px !important;
    justify-self: start !important;
}
.title-area {
    min-height: 120px !important;
    justify-content: space-evenly !important;
    padding: 3px 0 1px !important;
}
.header-program {
    color: #8a6442 !important;
    font-size: 12px !important;
    letter-spacing: 1.7px !important;
    margin: 0 0 1px !important;
}
.title-main {
    color: #8a6442 !important;
    font-size: 43px !important;
    line-height: 1.02 !important;
    letter-spacing: .35px !important;
}
.title-sub {
    color: #9b7350 !important;
    font-size: 13px !important;
    letter-spacing: 1.35px !important;
    margin-top: 3px !important;
}
.header-tagline {
    color: #9b7350 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 12px !important;
    font-style: italic !important;
    letter-spacing: .35px !important;
    margin-top: 2px !important;
}
.weekly-planner-small {
    color: #a27a56 !important;
    font-size: 7px !important;
    letter-spacing: 2.4px !important;
    margin-top: 3px !important;
}
.brand {
    justify-self: end !important;
    width: 155px !important;
    padding: 8px 4px !important;
}
.brand .ut,
.brand .rgv {
    font-size: 25px !important;
}
.brand .ehs {
    color: #8a6442 !important;
    font-size: 18px !important;
    margin-top: 5px !important;
}
.brand .small-brand {
    color: #9b7350 !important;
    font-size: 8px !important;
    line-height: 1.25 !important;
    margin-top: 5px !important;
}

@media (max-width: 900px) {
    .header {
        grid-template-columns: 1fr !important;
        row-gap: 8px !important;
        min-height: 0 !important;
        padding: 14px 12px !important;
    }
    .header::after { left: 5%; right: 5%; }
    .realistic-tree-emblem {
        width: 76px !important;
        height: 76px !important;
        justify-self: center !important;
    }
    .title-area { min-height: 0 !important; }
    .header-program { font-size: 10px !important; }
    .title-main { font-size: 32px !important; }
    .title-sub { font-size: 10px !important; }
    .header-tagline { font-size: 10px !important; }
    .weekly-planner-small { font-size: 7px !important; }
    .brand {
        justify-self: center !important;
        width: auto !important;
    }
}

@media print {
    .header {
        grid-template-columns: 110px minmax(0, 1fr) 145px !important;
        min-height: 126px !important;
        padding: 9px 14px !important;
    }
    .realistic-tree-emblem { width: 84px !important; height: 84px !important; }
    .title-main { font-size: 33px !important; }
    .header-program { font-size: 9px !important; }
    .title-sub { font-size: 10px !important; }
    .header-tagline { font-size: 9px !important; }
}
<style id="chatgpt_header_override">
.header-title,.planner-title,.main-title{
 color:#4f2f1b !important;
 text-shadow:0 1px 0 rgba(255,255,255,.35),0 2px 6px rgba(0,0,0,.10);
 letter-spacing:.8px;
 font-weight:800;
}
.header-title{
 font-family: Georgia, 'Palatino Linotype', serif !important;
}
.header-subtitle{
 color:#6b4a2f !important;
 letter-spacing:2px;
}
.header-tagline{
 color:#7b5a3b !important;
 font-style:italic;
}
.weekly-planner{
 color:#7b5a3b !important;
 letter-spacing:3px;
}
.header-center{
 background:linear-gradient(to bottom,rgba(255,255,255,.18),rgba(255,255,255,0));
 border-radius:18px;
 padding:10px 18px;
}
<style id="final_reference_header_style">
/* Final header styled to match the approved reference image */
.header {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 150px minmax(0,1fr) 175px !important;
    align-items: center !important;
    column-gap: 24px !important;
    min-height: 146px !important;
    margin: 0 0 12px !important;
    padding: 13px 20px !important;
    overflow: hidden !important;
    border: 1px solid #dfbf86 !important;
    border-radius: 16px !important;
    background:
      radial-gradient(circle at 50% 30%, rgba(255,255,255,.96), rgba(255,252,245,.94) 54%, rgba(250,241,220,.93) 100%) !important;
    box-shadow:
      inset 0 0 0 7px rgba(255,255,255,.48),
      0 7px 18px rgba(76,46,22,.14) !important;
}
.header::before {
    content:"";
    position:absolute;
    inset:8px;
    border:1px solid rgba(205,158,83,.33);
    border-radius:12px;
    pointer-events:none;
}
.header::after {
    content:"" !important;
    position:absolute !important;
    left:18% !important;
    right:18% !important;
    bottom:10px !important;
    height:1px !important;
    opacity:.45 !important;
    background:linear-gradient(90deg, transparent, #d79b35 20%, #d79b35 80%, transparent) !important;
    mask-image:none !important;
}
.realistic-tree-emblem {
    width:100px !important;
    height:100px !important;
    justify-self:start !important;
    border:3px solid #c99329 !important;
    border-radius:50% !important;
    background:rgba(255,255,255,.72) !important;
    box-shadow:0 4px 10px rgba(92,58,22,.18) !important;
    padding:9px !important;
}
.realistic-tree-emblem img {
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
}
.title-area {
    position:relative !important;
    min-height:118px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:2px !important;
    padding:3px 16px 4px !important;
    background:transparent !important;
}
.header-program {
    color:#9b4517 !important;
    font:900 12px/1.15 Arial,Helvetica,sans-serif !important;
    letter-spacing:2.4px !important;
    text-transform:uppercase !important;
    margin:0 0 3px !important;
}
.title-main {
    color:#442614 !important;
    font-family:Georgia,"Times New Roman",serif !important;
    font-size:44px !important;
    font-weight:800 !important;
    font-style:italic !important;
    line-height:.98 !important;
    letter-spacing:-.6px !important;
    white-space:nowrap !important;
    text-shadow:0 1px 0 #fff8eb, 0 2px 2px rgba(72,37,13,.16) !important;
}
.title-sub {
    color:#184f34 !important;
    font:800 12px/1.15 Arial,Helvetica,sans-serif !important;
    letter-spacing:3px !important;
    margin-top:4px !important;
    white-space:nowrap !important;
}
.header-tagline {
    color:#6b351e !important;
    font-family:Georgia,"Times New Roman",serif !important;
    font-size:12px !important;
    font-weight:600 !important;
    font-style:italic !important;
    letter-spacing:.1px !important;
    margin-top:3px !important;
}
.weekly-planner-small {
    position:relative !important;
    color:#bd7b20 !important;
    font:900 9px/1 Arial,Helvetica,sans-serif !important;
    letter-spacing:3.2px !important;
    margin-top:6px !important;
    padding:0 64px !important;
    white-space:nowrap !important;
}
.weekly-planner-small::before,
.weekly-planner-small::after {
    content:"";
    position:absolute;
    top:50%;
    width:52px;
    height:10px;
    border-top:2px solid #d39125;
    border-radius:50%;
    opacity:.9;
}
.weekly-planner-small::before { left:0; transform:rotate(-4deg); }
.weekly-planner-small::after { right:0; transform:rotate(4deg); }
.brand {
    justify-self:end !important;
    width:145px !important;
    min-height:100px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    padding:7px 9px 8px !important;
    border:1px solid #dfbf86 !important;
    border-radius:12px !important;
    background:rgba(255,255,255,.57) !important;
    box-shadow:0 3px 10px rgba(77,46,20,.08) !important;
}
.brand-utrgv { line-height:1 !important; white-space:nowrap !important; }
.brand .ut,.brand .rgv {
    font-family:Georgia,"Times New Roman",serif !important;
    font-size:24px !important;
    font-weight:800 !important;
}
.brand .ut { color:#c15d1b !important; }
.brand .rgv { color:#4b2a1b !important; }
.brand .ehs {
    color:#174c31 !important;
    font:900 17px/1 Arial,Helvetica,sans-serif !important;
    margin-top:5px !important;
}
.brand-program {
    color:#4b2a1b !important;
    font:700 13px/1.1 Georgia,"Times New Roman",serif !important;
    margin-top:3px !important;
}
.brand-divider {
    width:85%;
    height:1px;
    margin:7px 0 5px;
    background:linear-gradient(90deg,transparent,#c9a56d,transparent);
}
.brand .small-brand {
    color:#5f2d18 !important;
    font:800 7px/1.25 Arial,Helvetica,sans-serif !important;
    letter-spacing:.2px !important;
    text-align:center !important;
    margin:0 !important;
}
.week-title {
    color:#5a2f19 !important;
    font-weight:800 !important;
}
.week-title span {
    color:#3c2415 !important;
    font-family:Georgia,"Times New Roman",serif !important;
    border-bottom:2px solid #c85f1d !important;
    padding:0 10px 4px !important;
}
@media (max-width:900px){
  .header{grid-template-columns:1fr !important;row-gap:8px !important;padding:14px 12px !important;}
  .realistic-tree-emblem{justify-self:center !important;width:82px !important;height:82px !important;}
  .title-area{min-height:0 !important;padding:4px 5px !important;}
  .title-main{font-size:34px !important;white-space:normal !important;text-align:center !important;}
  .title-sub{font-size:9px !important;letter-spacing:1.7px !important;white-space:normal !important;text-align:center !important;}
  .header-program{font-size:10px !important;letter-spacing:1.7px !important;}
  .weekly-planner-small{padding:0 46px !important;}
  .weekly-planner-small::before,.weekly-planner-small::after{width:36px;}
  .brand{justify-self:center !important;}
}
@media print{
  .header{grid-template-columns:105px minmax(0,1fr) 145px !important;min-height:120px !important;padding:9px 13px !important;box-shadow:none !important;}
  .realistic-tree-emblem{width:80px !important;height:80px !important;}
  .title-main{font-size:32px !important;}
  .title-sub{font-size:9px !important;letter-spacing:2px !important;}
  .header-program{font-size:9px !important;}
  .brand{min-height:83px !important;width:130px !important;}
}
div#container
{
   width: 800px;
   position: relative;
   margin: 0 auto 0 auto;
   text-align: left;
}
body
{
   background-color: #FFDAB9;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 11px;
   line-height: 1.1875;
   margin: 0;
   text-align: center;
}
